← Revision 10 as of 2017-03-13 22:38:50
|Deletions are marked like this.||Additions are marked like this.|
|Line 1:||Line 1:|
|= Core API Audit =
Good software,like a garden, needs maintenance. The Cordova Core API has a few weeds that need pulling!
== Accelerometer ==
/!\ deprecated for http://dev.w3.org/geo/api/spec-source-orientation.html
== Camera ==
No action required.
== Capture ==
/!\ deprecated for http://www.w3.org/TR/media-capture-api/
== Compass ==
leave be but is this not covered by deviceorientation?
== Connection ==
leave be (work in sysapps will replace this)
== Contacts ==
leave be (work in web intents http://www.w3.org/TR/contacts-api/ and native picker in future for sure)
== Device ==
/!\ deprecated and move this gunk to cordova global (perhaps this belongs to capabilities api?)
== Events ==
/!\ deprecate battery stuff for its own plugin; leave the rest be
== File ==
== Geo ==
== 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
== Network ==
Move from navigator.network.connection -> navigator.connection. Re-work online/offline events to fire on window and document.body as per spec.
== Notification ==
/!\ deprecated completely. alert/confirm in standard browser API, vibrate move to http://www.w3.org/TR/vibration/, kill beep
== Storage ==
/!\ deprecate, the w3c doesnt want to support nor should we. file api and idb should care for all these use cases