-
Notifications
You must be signed in to change notification settings - Fork 77
Cordova Demos
The Plugin file demo shows two Cordova plugins, the Splashscreen and the file.
The following steps are configuration that is required in your Xcode after you have opened the Cordova Pluginfile Workspace in Demos/Cordova. Do not confuse this with the xcodeproj file in the CordovaPluginFile folder.
-
File-Workplace-Settings-Advanced. Build location-custom-relative to workspace. No adjustment to the default paths is required after this selection.
-
Project settings-general remove Launch screen file: main. (We want the plugin to display the launch screen and not the main.storyboard).
-
Build phase-Copy bundle resources from the Icenium app-resources/ios directory add Default-568h.png, Default-Portrait.png, and Default-Landscape.png. These are the files that the Splashscreen plugin is looking for to display the splashscreen in various iOS targets and orientations. It is not necessary to copy the actual files into the workspace.
-
Select scheme CordovaPluginMenu either from dropdown or product menu.
-
Select destination iOS device either from dropdown or product menu.
-
Build or run if device attached.
At this point the plugin demo will correctly generate the splash screen from the plugin and the file demo from the plugin. It will also work on the simulator if you chose the destination device.
Under construction
sdfsdf