Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

v0.1.8-alpha

Compare
Choose a tag to compare
@pbernasconi pbernasconi released this 11 Dec 19:53
· 471 commits to master since this release

NEW

  • App Rate plugin
  • In App Browser plugin
  • HTTPd plugin
  • Video Capture Plus plugin
  • GoogleAds plugin
  • FacebookAds plugin
  • FlurryAds plugin
  • iAd plugin
  • mMediaAds plugin
  • mobfoxAds plugin
  • mopubAds plugin
  • 0Auth - twitter, reddit, foresquare support
  • Date Picker - Insert default options on datePicker

FIXES

  • Module - add zip plugin injection dependency
  • Push Notification - wrapping $broadcast in an $apply() statement to bring notification into scope
  • Local Notification - Updated localNotification wrapper with hasPermission and promptForPermission methods
  • Bluetooth Serial - fix callback from resolve to notify for constant updates
  • File - add timeout option to upload

Breaking Changes

Changes were made to the promisification of geolocation, deviceOrientation and deviceMotion plugin watch methods.

Before:

watch = $cordovaDeviceMotion.watchAcceleration(options);

watch.promise.then(
     function() {/* unused */},  
     function(err) {},
     function(acceleration) {
});

$cordovaDeviceMotion.clearWatch(watch.watchID);

Now:

watch = $cordovaDeviceMotion.watchAcceleration(options).then(
     function() {/* unused */},  
     function(err) {},
     function(acceleration) {
});

watch.clear();
// or 
$cordovaDeviceMotion.clearWatch(watch);

The same goes for geolocation and DeviceOrientation.