Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 2.83 KB

README.md

File metadata and controls

71 lines (46 loc) · 2.83 KB

Cordova app quickstart checklist

LICENSE: CC0 (public domain) ref: http://creativecommons.org/publicdomain/zero/1.0/

Inspiration:

FUTURE TBD:

  • cover both cordova CLI and phonegap CLI and test
  • Document the actual shell commands for the steps below

Purpose

TBD

Prerequisite(s)

  • Cordova CLI installed
  • Ability use the Cordova CLI to:
    • create an app (using the default template);
    • run it with no plugins;
    • run it on any desired target platform(s)

NOTE: These steps are very well documented (TBD add some links)

FUTURE TBD for consideration: add section to cover this

FUTURE TBD: how to add a new target platform

Initial checklist

Outline:

  • Ability to run on desired target platform(s) (new platforms may be added in the future)
  • All desired target platform(s) are supported by all plugin(s) needed
  • Verify that cordova-plugin-console is installed
  • Verify ability to add a console.log statement to Javascript

Add a simple plugin

Goal: ability to use Cordova CLI to add a plugin and get it working before dealing with complexity of plugins such as Cordova File API and/or sqlite

  • Recommendation: start with a very simple plugin such as cordova-plugin-dialogs
  • add to project
  • add to onDeviceReady function in Javascript
  • cordova prepare command
  • test on all desired target platform(s)

Fix iOS backup (basic configuration)

Configured by BackupWebStorage in config.xml

IMPORTANT: By default configuration the iOS version has iCloud backup enabled, which I think is wrong. For example, it is NOT allowed to store a SQLite database in iCloud backup. For more information: https://developer.apple.com/library/mac/documentation/General/Conceptual/iCloudDesignGuide/Chapters/iCloudFundametals.html

The other options are to disable iOS backup or enable local backups via iTunes sync. For more information: https://cordova.apache.org/docs/en/latest/guide/platforms/ios/config.html

I have already filed Apache Cordova bug CB-9830 to fix the default iOS backup configuration.

Adding sqlite plugin

  • add to project
  • add quick installation test code to the onDeviceReady function in Javascript
  • verify that it works on all desired target platform(s)

Whitelist/security