1.0.1 • Published 6 years ago
cordova-storyboard-image-config v1.0.1
Meteor Cordova iOS Storyboard Image Config
Copies files and config for iOS storyboard launch images.
Installation
Meteor:
meteor add cordova:cordova-storyboard-image-config@1.0.1
Cordova:
cordova plugin add cordova-storyboard-image-config@1.0.1
Configuration
See the example folder for an example meteor project
- Add the plugin to your project.
- (if using meteor) copy the
cordova-build-override
folder into your meteor project. - (if using cordova) copy the
cordova-build-override/resources/
folder into your cordova project root. - Put the appropriate images in place of those in
[cordova-build-override/]resources/LaunchStoryboard.imageset
. See here for more information. - Edit
[cordova-build-override/]resources/LaunchStoryboard.imageset/Contents.json
accordingly. (if using meteor) Add the following to your
mobile-config.js
App.appendToConfig(` <platform name="ios"> <config-file platform="ios" target="*-Info.plist" parent="UILaunchStoryboardName"> <string>CDVLaunchScreen</string> </config-file> </platform> `);
(if using cordova) Add the following to your config.xml :
<platform name="ios"> <config-file platform="ios" target="*-Info.plist" parent="UILaunchStoryboardName"> <string>CDVLaunchScreen</string> </config-file> </platform>
meteor npm install xml2js@0.4.19 lodash@4.17.4 cordova-lib@7.1.0 --save-dev