cordova-storyboard-image-config

1.0.1 • Public • Published

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

  1. Add the plugin to your project.
  2. (if using meteor) copy the cordova-build-override folder into your meteor project.
  3. (if using cordova) copy the cordova-build-override/resources/ folder into your cordova project root.
  4. Put the appropriate images in place of those in [cordova-build-override/]resources/LaunchStoryboard.imageset. See here for more information.
  5. Edit [cordova-build-override/]resources/LaunchStoryboard.imageset/Contents.json accordingly.
  6. (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>
`);
  1. (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>
  1. meteor npm install xml2js@0.4.19 lodash@4.17.4 cordova-lib@7.1.0 --save-dev

Package Sidebar

Install

npm i cordova-storyboard-image-config

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • cunneen