Skip to content

brodybits/Avoiding-some-Cordova-pitfalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Cordova app troubleshooting guide

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

Inspiration:

Purpose

TBD

General

General pitfalls

  • Whitelist (see below)
  • Attempting to use any Cordova or Cordova plugin functionality before receiving deviceready event
  • In case of ngCordova/Ionic, possible controller/factory/service/??? callbacks before deviceready event
  • TBD ...

Whitelist/security pitfalls

  • intent whitelist: blocked intent such as external URL intent may cause certain Cordova plugin(s) to misbehave (see litehelpers / Cordova-sqlite-storage#396)
  • navigation & network request whitelist
  • Content Security Policy in index file
  • In case of multi-page apps, each navigation HTML page MUST have the correct Content Security Policy config

ngCordova/Ionic-specific pitfalls

SQLite-specific pitfall(s)

TBD (already documented in litehelpers / Cordova-sqlite-storage)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published