commit | b99812966988f34b994367a07d93c0a3015675b2 | [log] [tgz] |
---|---|---|
author | Steven Gill <stevengill97@gmail.com> | Tue Nov 26 16:45:45 2013 -0800 |
committer | Steven Gill <stevengill97@gmail.com> | Tue Nov 26 16:45:45 2013 -0800 |
tree | e840eb9e117cb9e663edfac0f9f1cd90be603643 | |
parent | c9ff4b428b4954751c89a464c6549d63cbef42b7 [diff] | |
parent | 75f78b90320dcad05e9e827f042728f0d4e38091 [diff] |
Merge branch 'dev' of github.com:archananaik/cordova-plugin-splashscreen into dev
For Android,
In your config.xml, you need to add the following preference
<preference name="splashscreen" value="foo" />
Where foo is the name of the splashscreen file. Preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders.
For Android, you also have to edit your projects main java file. You must add a second parameter representing a time delay to your super.loadUrl.
super.loadUrl(Config.getStartUrl(), 10000);
To install this plugin, follow the Command-line Interface Guide.
If you are not using the Cordova Command-line Interface, follow Using Plugman to Manage Plugins.