Core API Audit

Good software,like a garden, needs maintenance. The Cordova Core API has a few weeds that need pulling!

Accelerometer

Camera

No action required.

Capture

Compass

leave be but is this not covered by deviceorientation?

Connection

Contacts

Device

Mailing list decided to move to async api and unify.

Events

We may wish to consider implementing: http://www.html5rocks.com/en/tutorials/pagevisibility/intro/ for pause,resume,etc

File

normalize paths

Geo

leave be

Media

requires further audit (jesse doing this) (use html5 audio and/or normalize apis / add volume event) https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html

Also relevant is CB-1681 - media.getCurrentPosition(time) and media.seekTo(time) have different units.

Network

Move from navigator.network.connection -> navigator.connection. Re-work online/offline events to fire on window and document.body as per spec.

Notification

*Definitions*:

*Goals*:

*Current state of the world: *(s/the world/phonegap-plugins/)

*iOS*

*Android*

displayed

*Open Questions*:

*Prioritizing Steps Forward:*

  1. StatusBar Notifications on iOS (w3c spec)

  2. Push Notifications on android
  3. Push Notifications on iOS (minor fixup/polyfill hopefully)
  4. Local Notifications on android

Storage