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

Releases: ionic-team/ng-cordova

v0.1.27-alpha release

06 Jul 17:20
Compare
Choose a tag to compare

New Plugins:

Fixes:

0.1.26-alpha

08 Apr 12:49
Compare
Choose a tag to compare

Same as 0.1.25-alpha; except this time I remembered to include the package.json and the bower.json changes (didn't amend the commit, I know, I know).

0.1.25-alpha Release

08 Apr 12:41
Compare
Choose a tag to compare

The following changes are in this release from 0.1.24:

PushV_5:

PR #1133: Adding push.finish() method required by iOS
PR #1216 added getBadgeNumber()

Network Plugin (Mock):

PR #1136 : Switch mode for network mock

CordovaDeviceMotion plugin

PR #1191 : Now doesn't crash when the accelerometer is not present or available.

NativeAudio Plugin

PR #1203 : fix plugin parameters; we weren't including delay and we should have been.

CordovaMedia Plugin

PR #1205 : fixing issue where the promise wouldn't be able to resolve.

ActionSheet Service (Mock)

PR #1208 : Added mock for your testing enjoyment.

ReadFile

PR #1202 Added readFileMetaData() function. Happy Metadata reading!

Cordova Progress Plugin

PR #1148 - Added Mock.

Cordova dialog Plugin

Added missing android methods

Also Issue #1200 asked "Is this project dead?"

Short answer? No.

Until Ionic Native supports every plugin and everyone has moved to it from ngCordova 1.x, I'm still here to support 1.x.

I use Ionic 1.x and ngCordova 1.x because it makes business sense to do so. Ionic 2 is cool; but if you need mature plugin support, ngCordova 1.x is still your best shot.

We [I] generally release new versions of ngCordova every 3 months; dev-next always contains the latest and greatest, and I use that branch to test changes. If you want to be bleeding edge, you can use it; but it is a development branch for a reason.

Also, the releases are still 'alpha'. A little weird given we're using them in production, but that should change with the next release. I'd love to pull the alpha tag off.

V0.1.24-alpha

15 Jan 19:10
Compare
Choose a tag to compare

This release features improvements and changes to the following plugin wrappers:

$cordovaBle:

  • PR #1079 :
    Added start/stopScan, enable methods
    • renamed writeCommand to writeWithoutResponse (with backwards-compatibility in mind)
    • removed promise from startNotification

$cordovaSQLite:

  • PR #1007
    • Added Mocks for Unit Testing

$cordovaSocialSharing:

  • PR #1019
    • available() now returns a promise (as it should have all along. Sorry about that).

cordovaAppVersion:

  • PR #1038 and PR #1039
    • New functions available:
  • getAppName(), getPackageName(), getVersionNumber()

$cordovaOauth

  • PR #1123 and resolves issue #1117
    • Remove the $cordovaOauth module from the tree; it was a submodule, now it's separately released by @nraboy. This was due to a number of issues run into by developers when when trying to pull in changes from the module when creating PRs.

$cordovaNgCardIOProvider

  • PR #1096
  • We apparently forgot how to spell 'fields'. that has now been fixed.

$cordovaDatePicker

  • PR #1106
    • We now handle the the reject on show() if there's an error.

$cordovaFileTransfer

  • PR #1109 : The options and trust arguments are reversed
    This resolves an issue with the mock for $cordovaFileTransfer.download() where the 2nd and 3rd argument were reversed.

$cordovaToast

  • PR #1127 - add wrapper for Toast.hide()
    • you can now use $cordovaToast.hide(). Don't use it all in one place.

Docs:
PR #1130, update readme URLs to point to new redirects for projects.

v0.1.17-alpha

31 May 15:59
Compare
Choose a tag to compare
  • Rebuild latest changes into the minified js file.
  • update bower + npm

v0.1.16-alpha

31 May 15:48
Compare
Choose a tag to compare
  • fix: inject $timeout for keyboard plugin (5327fc0)
  • Fixed brightness spec failures (2be8bd4)
  • Added brightness mock (8e2daa5)
  • update to last version of plugin (f2944d5)
  • Changed evt.target._result to evt.target.result (c29c765)
  • Remove non existant plugin (9b8ab94)
  • Fix install link, close #781 (f134641)
  • Inject ngCordova.plugins.googleplus(google plus) factory into ngCordova.plugins module (fec406d)
  • Cleanup links (45387a1)
  • chore(jscs): lint + jscs + build (4cdf62f)
  • chore(jscs): jscs the mocks + rebuild (eb088a5)
  • chore(): add jscs and gulp it (1394983)
  • Updated $cordovaLocalNotification to latest plugin version (7f4ee67)
  • use notification.local.schedule instead depreated notification.local.add (4c7418d)
  • Adds show method (fd5b484)
  • chore(rebuild): rebuild dist files (32c4c02)
  • Inject rootScope and change timeouts to evalAsync (0dc3b65)
  • Add trackException and trackTiming methods (eefa37a)
  • Add statusbar styles to a "constant" key value obj (50a2e1d)
  • Add default options to deviceOrientation.js (5b99cd4)
  • Fix keychain (d147e59)

v0.1.15-alpha

23 Apr 19:52
Compare
Choose a tag to compare

New

Fixes

  • Push Notifications plugin - fix an issue where the onNotification() method was not called due to bootstrapping of Angular app
  • File-Transfer plugin - add encodeURI option to encode the URL for download() and upload() methods 4307348
  • App Rate plugin - refractor general preferences to use an Object rather than String literals -- see below b9f7c10
  • Add DI (dependency injection) for strict-DI rules 9f18124

Breaking changes

$cordovaAppRate

Before:

$cordovaAppRateProvider.useLanguage(...)
$cordovaAppRateProvider.displayAppName(...)
...

Now:

var prefs = {language: 'en', appName: 'some name'};
$cordovaAppRateProvider.setPreferences(prefs)

v0.1.14-alpha

23 Mar 02:24
Compare
Choose a tag to compare

Added several plugins, including the Instagram plugin.

v0.1.12-alpha

28 Jan 13:59
Compare
Choose a tag to compare

New

Fixes

  • Push Notifications plugin - fix an issue where the onNotification() method was not called due to bootstrapping of Angular app
  • File-Transfer plugin - add encodeURI option to encode the URL for download() and upload() methods 4307348
  • App Rate plugin - refractor general preferences to use an Object rather than String literals -- see below b9f7c10
  • Add DI (dependency injection) for strict-DI rules 9f18124

Breaking changes

$cordovaAppRate

Before:

$cordovaAppRateProvider.useLanguage(...)
$cordovaAppRateProvider.displayAppName(...)
...

Now:

var prefs = {language: 'en', appName: 'some name'};
$cordovaAppRateProvider.setPreferences(prefs)

v0.1.11-alpha

15 Jan 03:36
Compare
Choose a tag to compare

New

  • NPM - deploy new versions using Travis 081a23f
  • FileOpener2 plugin - created module and factory for fileOpener2 plugin 08970d0
  • inAppBrowser plugin - refractor into a provider to set default options + override default options in open() method daeedd1 8d9e7fb
  • File Transfer plugin - refractor out FileTransfer plugin from File plugin into its own module 11717fc
  • Local Notification - added registerPermission() method for iOS 8 742d961
  • OAuth -Magento, ADFS, Vkontakte support 8bb4198

Fix

  • ProgressIndicator - add the show() method that exists for android. show expects one parameter which is the indicator message 67f5f0d f5b220f
  • OAuth - fix promise resolve #544 e0b2457
  • OAuth - close() browser only after login promise is complete 8bb4198
  • Push Notification - onNotification check + replace $rootscope.$apply() with $timeout to avoid '$digest already in progress' error 1cb428a
  • Network - improve eventListener auto initialized the eventListeners for offline, online. 8272f28 0c8c0fd 579c18f
  • Network - replace $apply() with $timeout() for online and offline events d0028aa
  • Social Sharing -add shareViaFacebookWithPasteMessageHint method a5df9db
  • localNotification - replace $rootscope.$apply() with $timeout() to avoid $digest error for events 743ce58
  • Battery Status - remove isolated $rootScope.$new() and replace with DI injection + check if plugin is installed. If installed, start EventListeners 0c6de57
  • Battery Status - refractor out anonymous functions for better memory management + wrap $broadcast calls in a $timeout function to ensure $rootscope.$apply() occurs 600b30e

Demo

  • Facebook - FB variables to init.sh d0575a7
  • Contacts - add contacts da92644
  • localNotification - add detailed localNotification da92644

Breaking Changes

  • Network - standardise $broadcast naming 3566b7b
  • Push Notification - standardise $broadcast naming dda9e80
  • Battery Status - standardise $broadcast naming 6b6739f
  • Local Notifications -standardize $broadcast naming 742d961
  • InAppBrowser - rename loadstart, loadstop, loaderror, exit to $cordovaInAppBrowser:[event] for standardisation + refractor to $rootScope.$broadcast() to avoid new isolated scope dea2b8e
  • InAppBrowser - remove init() function - refractor into $cordovaInAppBrowserProvider.setDefaultOptions(options) dea2b8e

Network

Before

$rootScope.$on('networkOffline', function(e,state));
$rootScope.$on('networkOnline', function(e,state));

Now

$rootScope.$on('$cordovaNetwork:offline', function(e,state));
$rootScope.$on('$cordovaNetwork:online', function(e,state));

Push Notifications

Before

$rootScope.$on('pushNotificationReceived', function(e,state));

Now

$rootScope.$on('$cordovaPush:notificationReceived', function(e,notification));

Battery Status

Before

$cordovaBatteryStatus.$on('batterystatus', function(e,status));
$cordovaBatteryStatus.$on('batterycritical', function(e,status));
$cordovaBatteryStatus.$on('batterylow', function(e,status));

Now

$rootScope.$on('$cordovaBatteryStatus:status', function(e,status));
$rootScope.$on('$cordovaBatteryStatus:critical', function(e,status));
$rootScope.$on('$cordovaBatteryStatus:low', function(e,status));

Local Notification

Before

$rootScope.$on("localNotification:canceled", function(e,notification));
$rootScope.$on("localNotification:clicked", function(e,notification));
$rootScope.$on("localNotification:triggered", function(e,notification));
$rootScope.$on("localNotification:added", function(e,notification));

Now

$rootScope.$on("$cordovaLocalNotification:canceled", function(e,notification));
$rootScope.$on("$cordovaLocalNotification:clicked", function(e,notification));
$rootScope.$on("$cordovaLocalNotification:triggered", function(e,notification));
$rootScope.$on("$cordovaLocalNotification:added", function(e,notification));

In App Browser

Before

inApp.$on('loadstart', function(e, event));
inApp.$on('loadstop', function(e, event));
inApp.$on('loaderror', function(e, event));
inApp.$on('exit', function(e, event));

$cordovaInAppBrowser.init(options);

Now

$rootScope.$on('$cordovaInAppBrowser:loadstart', function(e, event));
$rootScope.$on('$cordovaInAppBrowser:loadstop', function(e, event));
$rootScope.$on('$cordovaInAppBrowser:loaderror', function(e, event));
$rootScope.$on('$cordovaInAppBrowser:exit', function(e, event));

$cordovaInAppBrowserProvider.setDefaultOptions(options);

File Plugin

Before

$cordovaFile.uploadFile(...)
$cordovaFile.downloadFile(...)

Now

$cordovaFileTransfer.upload(...)
$cordovaFileTransfer.download(...)