Merge branch 'dev'
tree: 22dff39204d311f039e5b30211289a4248680bb2
  1. docs/
  2. src/
  3. test/
  4. www/
  5. .gitignore
  6. LICENSE
  7. plugin.xml
  8. README.md
  9. RELEASENOTES.md
README.md

cordova-plugin-splashscreen

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.