Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ionic-native-nebulite

ionic-team6MIT5.9.1

Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support

readme

Circle CI Commitizen friendly

Ionic Native

Ionic Native is a curated set of wrappers for Cordova plugins that make adding any native functionality you need to your Ionic mobile app easy.

Ionic Native wraps plugin callbacks in a Promise or Observable, providing a common interface for all plugins and making it easy to use plugins with Angular change detection.

Installation

Run following command to install Ionic Native in your project.

npm install @ionic-native/core --save

You also need to install the Ionic Native package for each plugin you want to add. Please see the Ionic Native documentation for complete instructions on how to add and use the plugins.

Documentation

For the full Ionic Native documentation, please visit https://ionicframework.com/docs/native/.

Basic Usage

Ionic/Angular apps

To use a plugin, import and add the plugin provider to your @NgModule, and then inject it where you wish to use it. Make sure to import the injectable class from the /ngx directory as shown in the following examples:

// app.module.ts
import { Camera } from '@ionic-native/camera/ngx';

...

@NgModule({
  ...

  providers: [
    ...
    Camera
    ...
  ]
  ...
})
export class AppModule { }
import { Geolocation } from '@ionic-native/geolocation/ngx';
import { Platform } from 'ionic-angular';

@Component({ ... })
export class MyComponent {

  constructor(private geolocation: Geolocation, private platform: Platform) {

    this.platform.ready().then(() => {

      // get position
      this.geolocation.getCurrentPosition().then(pos => {
        console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
      });


      // watch position
      const watch = geolocation.watchPosition().subscribe(pos => {
        console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
      });

      // to stop watching
      watch.unsubscribe();
    });

  }

}

ES2015+/TypeScript

These modules can work in any ES2015+/TypeScript app (including Angular/Ionic apps). To use any plugin, import the class from the appropriate package, and use it's static methods.

import { Camera } from '@ionic-native/camera';

document.addEventListener('deviceready', () => {
  Camera.getPicture()
    .then((data) => console.log('Took a picture!',  data))
    .catch((e) => console.log('Error occurred while taking a picture', e));
});

AngularJS

Ionic Native generates an AngularJS module in runtime and prepares a service for each plugin. To use the plugins in your AngularJS app:

  1. Download the latest bundle from the Github releases page.
  2. Include it in index.html before your app's code.
  3. Inject ionic.native module in your app.
  4. Inject any plugin you would like to use with a $cordova prefix.
angular.module('myApp', ['ionic.native'])
  .controller('MyPageController', function($cordovaCamera) {
    $cordovaCamera.getPicture()
      .then(
        function(data) {
          console.log('Took a picture!', data);
        },
        function(err) {
          console.log('Error occurred while taking a picture', err);
        }
      );
  });

Vanilla JS

To use Ionic Native in any other setup:

  1. Download the latest bundle from the Github releases page.
  2. Include it in index.html before your app's code.
  3. Access any plugin using the global IonicNative variable.
document.addEventListener('deviceready', function() {
  IonicNative.Camera.getPicture()
    .then(
      function(data) {
        console.log('Took a picture!', data);
      },
      function(err) {
        console.log('Error occurred while taking a picture', err);
      }
    );
});

Mocking and Browser Development (Ionic/Angular apps only)

Ionic Native makes it possible to mock plugins and develop nearly the entirety of your app in the browser or in ionic serve.

To do this, you need to provide a mock implementation of the plugins you wish to use. Here's an example of mocking the Camera plugin to return a stock image while in development:

First import the Camera class in your src/app/app.module.ts file:

import { Camera } from '@ionic-native/camera/ngx';

Then create a new class that extends the Camera class with a mock implementation:

class CameraMock extends Camera {
  getPicture(options) {
    return new Promise((resolve, reject) => {
      resolve('BASE_64_ENCODED_DATA_GOES_HERE');
    });
  }
}

Finally, override the previous Camera class in your providers for this module:

providers: [{ provide: Camera, useClass: CameraMock }];

Here's the full example:

import { ErrorHandler, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';

import { Camera } from '@ionic-native/camera/ngx';

import { HomePage } from '../pages/home/home';
import { MyApp } from './app.component';

class CameraMock extends Camera {
  getPicture(options) {
    return new Promise((resolve, reject) => {
      resolve('BASE_64_ENCODED_DATA_GOES_HERE');
    });
  }
}

@NgModule({
  declarations: [MyApp, HomePage],
  imports: [BrowserModule, IonicModule.forRoot(MyApp)],
  bootstrap: [IonicApp],
  entryComponents: [MyApp, HomePage],
  providers: [
    { provide: ErrorHandler, useClass: IonicErrorHandler },
    { provide: Camera, useClass: CameraMock }
  ]
})
export class AppModule {}

Runtime Diagnostics

Spent way too long diagnosing an issue only to realize a plugin wasn't firing or installed? Ionic Native lets you know what the issue is and how you can resolve it.

img

Plugin Missing?

Let us know or submit a PR! Take a look at the Developer Guide for more on how to contribute. :heart:

Credits

Ibby Hadeed - @ihadeed

Daniel Sogl - @sogldaniel

Tim Lancina - @timlancina

Mike Hartington - @mhartington

Max Lynch - @maxlynch

Rob Wormald - @robwormald

changelog

5.9.0 (2019-07-01)

Bug Fixes

  • alipay: use correct pluginRef (#3081) (92d5764)
  • firebase: add missing decorator to clearAllNotifications (#3059) (2fadb6b)
  • in-app-purchase-2: add missing option to register function (#3063) (1fc0909)

Features

5.8.0 (2019-06-10)

Bug Fixes

Features

5.7.0 (2019-06-03)

Features

5.6.1 (2019-05-27)

5.6.0 (2019-05-16)

Bug Fixes

  • biocatch: start publicKey is now required even if null (7afed90)
  • biocatch: updateCustomerSessionID argument can be null (9804476)
  • blinkid: correct issue with blink card (4601ea3)
  • blinkid: resolve issues with blink card (1f31954)
  • firebase-crashlytics: update initialise method (#2990) (#2991) (e363d98)

Features

  • biocatch: add Biocatch plugin (a42e7b8)
  • camera-preview: add wrapper for camera preview snapshot (7903774)
  • FileOpener: Added method showOpenWithDialog (ed36dc4)
  • firebase-crash: add plugin (66b9d1a)
  • foreground-service: allows background services (5b5c6e6)

5.5.1 (2019-04-29)

Bug Fixes

  • background-geolocation: update source (e288a5d), closes #2979

Features

  • CameraPreview: add getHorizontalFOV callback (#3000) (9800271)

5.5.0 (2019-04-19)

Bug Fixes

  • background-mode: update types definitions (#2997) (c0ce17b)
  • firebase-messaging: fix the typings of the FCM message payload (#2998) (e47774b)
  • google-plus: mark login param as required (#2996) (c518c81)
  • nfc: rename makeReadyOnly to makeReadOnly (9024ea5), closes #2985

Features

5.4.0 (2019-04-07)

Bug Fixes

  • background-mode: update types definitions (#2982) (c75aeb9)
  • ble: fix definitions (#2974) (6a19509)
  • facebook: use object notation, otherwise EVENTS is´ undefined (#2955) (aa138c4)
  • in-app-purchase2: Registering a product with an alias is now optional (#2946) (4e60c63)

Features

  • google-play-games-services: add getPlayerScore function (#2949) (767d3b3)
  • in-app-purchase-2: add manageSubscriptions() (#2980) (f874185)
  • in-app-purchase-2: add missing property (#2961) (029f82f)
  • nativegeocoder: update plugin to v3.2.0 (#2958) (4de49c3)
  • purchases: add new plugin for purchases (#2940) (39be275)
  • updating device account wrapper with maintained fork with android 8.0 compatibility (354af9f)

5.3.0 (2019-03-19)

  • Revert "refactor(template): update Inject decorator" (d827db2)

Bug Fixes

  • scripts: check for TypeDoc tags when selecting plugin class (#2963) (06654af)
  • ssr: check for window and document (e3e8c85)
  • ssr: fix window references (c2029f7)
  • ssr: fix window references (5b1bdc3)
  • ssr: remove cordova warning during ssr (7e090cc)

Features

  • nativegeocoder: update plugin to v3.2.0 (cd97375)
  • scripts: add docs-json script (#2947) (b0dea6d)

BREAKING CHANGES

  • This reverts commit c5ae6362d7771b62ae35a6b8ddc6e866aa9964a9.

5.2.0 (2019-02-20)

Code Refactoring

  • optimize plugins for angular treeshaking (8b53c04)

Features

BREAKING CHANGES

  • You can remove the plugin import from the app.module.ts because of the changed Inject decorator

5.1.0 (2019-02-14)

Bug Fixes

Features

5.0.0-beta.24 (2019-01-20)

4.20.0 (2019-01-20)

Bug Fixes

  • bluetooth-le: Fix typo in interface definition (#2881) (c2f4561)

Features

  • background-geolocation: add v3 functions and interfaces (#2393) (1ba6f97)
  • lottie-splash-screen: add new plugin (#2880) (603d694)
  • web-intent: Add missing type info (#2878) (3226f76)

5.0.0-beta.23 (2019-01-19)

Bug Fixes

Features

5.0.0-beta.22 (2018-12-01)

chore

BREAKING CHANGES

  • Requires Angular 7.1 and TypeScript 3.1

4.18.0 (2018-12-01)

Bug Fixes

  • local-notifications: update type of the every property (#2825) (b166cc5)
  • local-notifications: update type of the every property (#2825) (31e4058)

Features

4.17.0 (2018-11-02)

Bug Fixes

  • contacts plugin: add the rawId parameter (#2799) (b61b339)

Features

4.16.0 (2018-10-17)

Bug Fixes

Features

5.0.0-beta.21 (2018-09-25)

Bug Fixes

  • keyboard: add missing property (fcd6d26)
  • keyboard: include the mode parameter in setResizeMode() (8d57df3)

4.15.0 (2018-09-25)

Bug Fixes

  • admob-free: fix duplicated class (95b9262)
  • bluetooth-le: Removed a wrong cordova decorator param (#2733) (cbeb413)
  • build: fix macos mojave build errors (358474d)
  • keyboard: use cordova-plugin-ionic-keyboard (#2743) (1457a16), closes #2306
  • keyboard: use cordova-plugin-ionic-keyboard (#2743) (fbf7463), closes #2306
  • printer: import getPromise (15cd285)
  • screenshot: import getPromise (e661f2e)
  • secure-storage: add missing "getPromise" import (#2727) (457d47c)
  • secure-storage: import getPromise (653f5a2)

Features

  • plugins: add AppleWallet (#2740) (307477d)
  • plugins: add web-server plugin (#2726) (8116ddd)
  • siri-shortcuts: Add clear option for the activated shortcut (#2734) (3eff280)
  • taptic-engine: add missing functions and types (a6bcc9a)

5.0.0-beta.20 (2018-09-18)

Bug Fixes

  • build: Fix TypeScript bug, wrong type exported for wrap fn (c433317)

5.0.0-beta.19 (2018-09-18)

4.14.0 (2018-09-18)

Bug Fixes

  • index-app-content: fix lint (2611061)
  • mobile-accessibility: add correct pluginRef (3699fa9), closes #1860
  • ms-adal: remove duplicate imports (4803912)
  • onesignal: add missing setLocationShared method (#2723) (8bab321)
  • push: add missing Chanel options (3ef9593), closes #2712
  • web-intent: add missing properties (d077c48), closes #2701
  • web-intent: fix lint (9feefe8)

Features

  • chooster: add plugin (04db233), closes #2612
  • local-notifications: add missing functions (10d222d)
  • onesignal: add missing functions (51006a7), closes #2504

5.0.0-beta.18 (2018-09-15)

4.13.0 (2018-09-15)

Bug Fixes

  • bluetooth-le: Various methods fixes (#2707) (7047920)
  • in-app-review: Transfer Plugin to the correct folder (#2688) (22fd49b)
  • ms-adal: Update createAuthenticationContext (#2705) (890129b)

Features

  • appsflyer: Added Appsflyer Cordova SDK as ionic native plugin (#2690) (3b3f942)
  • branch-io: Add branch.io attribution and invitation plugin (#2691) (90d75af)
  • calldirectory: add log function (#2708) (9601a64)
  • janalytics: add plugin (#2711) (0b97176)
  • local-notifications: Added local additional local notification action fields (#2713) (267149b)
  • mixpanel: Update/add functions (#2697) (ac467c5)
  • wechat: add plugin (#2716) (10ac9ff)

5.0.0-beta.17 (2018-08-31)

Bug Fixes

4.12.1 (2018-08-31)

Bug Fixes

Features

  • aes256: Added new utility methods to generate secure key and secure IV (#2675) (a731466)
  • in-app-browser: Add missing InAppBrowserOptions-properties (#2669) (d90724e)
  • push: Added voip property to IOSPushOptions (#2681) (03e4f0e)

5.0.0-beta.15 (2018-08-25)

Bug Fixes

  • contacts: remove double import of checkAvailability (#2659) (1ad4cc1)
  • extended-device-information: fix wrong decorator (5e9c92a)

Features

  • bluetooth-le: add bluetooth-le plugin (#2651) (591ee87)
  • http: add setSSLCertMode function (8db1dbe)

4.12.0 (2018-08-16)

Bug Fixes

  • clevertap: fix jsdoc (e47a3e1)
  • extended-device-information: Fixed Memory Display Bug (#2641) (2ac5282)
  • network: bind listener to document instead of window (#2622) (d10777a)
  • photo-library: interface missing includeVideos (3f415f9), closes #2624

Features

  • fabric: add fabric plugin (#2618) (9b4fd02)
  • local-notifications: add new foreground property (#2633) (229b62c)
  • webengage: add optional config with initialization (#2637) (ca9a702)

4.11.0 (2018-07-29)

Bug Fixes

  • http: add correct return types for downloadFile and uploadFile (4092831), closes #2615

Features

4.10.1 (2018-07-25)

Bug Fixes

  • nfs: Optional arguments for records like textRecord (#2605) (b635ba9)
  • user-agent: Plugin not installed (#2607) (79cb478)

5.0.0-beta.14 (2018-07-18)

Features

BREAKING CHANGES

  • alipay: Replaced plugin with maintained Cordova plugin

4.9.2 (2018-07-13)

Bug Fixes

4.9.1 (2018-07-09)

Bug Fixes

  • barcode-scanner: wrong barcode format identifier PDF417 -> PDF_417 (#2574) (61714ff)
  • health-kit: add missing checkAuthStatus param (#2544) (956e644)

Features

5.0.0-beta.13 (2018-06-28)

Bug Fixes

  • appodeal: removed bad imports (7d5e7aa)
  • file-tramsfer: fix v5 imports for file-transfer plugin (#2537) (406ad12)
  • healt: add correct return type for query function (#2565) (98d44e6)
  • index-app-content: add missing function (8d57198)
  • index-app-content: fix imports (189d66c)

Features

  • aes-256: AES256 encryption and decryption plugin added (#2562) (fdd6315)
  • image-picker: add DATA_URL as an option to ImagePicker (#2325) (dd9ba0a)
  • plugin: add Sensors plugin (#2268) (e61d574)

5.0.0-beta.12 (2018-06-23)

Bug Fixes

  • android-fingerprint-auth: ensure ERRORS array is defined (#2508) (714114d)
  • background-geolocation: watchLocationMode returns observable (#2547) (3f8a6f2)
  • calendar: Fixes createCalendar parameter typing (84e0aa1)
  • call-number: fix isCallSupported function (f49d2a9), closes #2428
  • healths: add missing attribute on HealthQueryOptionsAggregated (#2550) (be370a4)
  • ibeacon: correct Type {Region} in some params (#2453) (300db62)
  • in-app-purchase-2: fix ready method signature (#2043) (a018381)
  • linting: Fixing misc linting errors that typedoc complains about (#2476) (d3c2859)
  • native-geocoder: set response type to an array (#2505) (defb276)
  • onesignal: make params optional (#2507) (e6db281)
  • onesignal: update OSPermissionState interface (#2561) (fc088f8)
  • site: no prepended slash (cea1dc1)
  • str-prnt: rxjs 6 import (48714d7)
  • stripe: fixed casing of postal code param (#2520) (d6a9ed1)
  • themeable-browser: allow hidden and clear cache (a4cc7f7)
  • v5-builder: stop transforming "declare" classes (#2503) (6662234)
  • build errors (f70eaea)
  • fix lint (b36a1f9)
  • fix more lint errors (0b3d299)
  • fix rxjs 6 imports (e0b0687)
  • fix tealium jsdoc (f34b6e6)
  • web-intent: fix options param (#2450) (23b760b)
  • web-intent: registerBroadcastReceiver as Observable (#2491) (47f7397)

Features

  • ble: update wrapper to match latest plugin release (#2548) (03e6afb)
  • calldirectory: add call directory plugin (#2473) (1bfe829)
  • cloud-settings: add support for cordova-plugin-cloud-settings (#2494) (400dbcb)
  • file-picker: add missing options (1d9c449)
  • firebase: add new functions (36450e1)
  • firebase: add verifyPhoneNumber support for iOS (567f525)
  • firebase-config: add firebase-config wrapper (#2517) (05423ce)
  • firebase-messaging: add firebase-messaging (#2518) (c03b73f)
  • hce: add hce plugin wrapper (#2534) (8460e68)
  • InAppReview: add InAppReview plugin (#2483) (bfe5ae9)
  • ionic-webview: plugin for cordova-plugin-ionic-webview 2.0 (8beb177)
  • local-notifications: added support for foreground option in version 0.9.0-beta.3 of cordova-plugin-local-notifications (#2506) (ae6e28d)
  • onesignal: Added notification stacking (#2512) (7c35535)
  • photo-library: add maxItems to limit items-iOS (#2554) (31fc892)
  • send-result: add sendResult method for WebIntent plugin (#2495) (34aeb19)
  • SiriShortcuts: implement Siri Shortcuts plugin in Ionic (#2542) (df254de)
  • star-prnt: add StarPRNT plugin (a1e6bef)
  • star-prnt: Added support for connected to devices with barcode readers (#2509) (58615f1)
  • tealium: add tealium ionic wrappers (#2414) (5f41ef1)
  • uptime: add deep sleep parameter (#2456) (91d22c5)

4.7.0 (2018-04-09)

Bug Fixes

  • badge: add correct requestPermission function (586c7e5), closes #105 #1856
  • build: fix ngx build errors (cc9a980)
  • call-log: comments erratum (4b9cf17)
  • call-log: update getCallLog signature (61c0ecf)
  • contacts: refactor wrong ContactFieldTypes (f607a03)
  • core: fix rxjs 6 build errors (48b0f16), closes #2439
  • email-composer: add missing options (4399600), closes #175
  • facebook: remove browserInit function (f718432), closes #1901
  • firebase-analytics: add sync option for all methods (42fd1f2)
  • google-maps: wrong decorators (e5b9d53)
  • health-kit: add missing properties to HealthKitOptions (f8e79ce)
  • image-resizer: add missing option (859cbfc)
  • index-app-content: remove onItemPressed function (270678f)
  • local-notifications: fixed linting errors (8a26377)
  • plugins: fix rxjs 6 build errors (3ced31e), closes #2439
  • printer: add correct npm repository (4bf55d3)
  • pro: proper callback type and guard for plugin instantiate. #2136 #2127 (61293c3)
  • pro: Tweak to pro plugin. #2136 #2127 (c8ecee0)
  • Pro: CordovaCheck should sync. #2136 #2127 (f419db5)
  • push: Android senderID as optional (1b237aa)
  • Radmob-pro: add offsetTopBar option (4948640), closes #2100
  • speech-recognition: add missing options (9aff5ea), closes #2165
  • sqlite: remove trailing whitespaces (7547a94)
  • uuid: add correct plugin source (a81a4d3), closes #2324
  • web-intent: allow extras (8dc5ad2), closes #1959
  • web-intent: rename onNewIntent to onIntent (dbcb103)

Features

5.0.0-beta.4 (2017-12-29)

5.0.0-beta.3 (2017-12-29)

Bug Fixes

  • push: fix finish method (995fd56)

Features

  • crop: add targetHeight and targetWidth options (#2213) (9990df8)

4.5.1 (2017-12-12)

Bug Fixes

  • core: fix issue with CordovaFunctionOverride decorator (6cd97ca)

5.0.0-beta.0 (2017-12-08)

Bug Fixes

  • alipay: add 'string' as an alternative type for 'pay()' input parameter; (#2172) (d43fe72)
  • app-rate: add simpleMode (#2155) (9844274)
  • app-rate: change openStoreInApp to inAppReview (#2097) (d95ae68)
  • camera-preview: add missing tapToFocus camera option (#2046) (b9b781d)
  • deeplinks: add options parameter(#1601) (#2141) (bb2291c)
  • ftp: return observable (not promise) for upload and download method (#2174) (5159367)
  • indexappcontent: Return observable for onItemPressed (#2006) (9a52110)
  • mobile-accessibility: change signature references to the correct names (#2139) (b2c873c)
  • ms-adal: add userInfo in the AuthenticationResult (#2160) (c038c63)
  • music-controls: various fixes (#2094) (afca876)
  • push: add senderID to AndroidPushOptions (#2060) (4694c42)
  • web-intent: fix false negative of plugin installation (#2062) (ae94c71)

Features

  • android exoplayer: add cordova-plugin-exoplayer (#2180) (d06fa48)
  • android-fingerprint: add getSigningCertificateFingerprint() method (#2076) (bd5bcdc)
  • apple-pay: add cordova-plugin-applepay (#2081) (784f948)
  • apple-pay: update for version 3 of the Apple Pay plugin. (#2177) (bf41506)
  • ble: support startStateNotifications & stopStateNotifications (#2085) (2a4bcee)
  • braintree: add support for cordova-plugin-braintree to @ionic-native (#2073) (091ac7a)
  • call-number: add isCallSupported method (#2051) (6053296)
  • dns: add cordova-plugin-dns plugin (#2083) (212bd63)
  • firebase: add new Firebase phone verification methods (#2157) (86181af)
  • GooglePlayGamesServices: add plugin (#1904) (03f5789)
  • network-interface: add plugin support (#2063) (86b2a2c)
  • nfc: add interfaces and missing references to UriHelper and TextHelper (#2104) (8b78644)
  • nfc: add support for iOS (#2050) (9f72592)
  • push: add support for version 2.1.0 (#2064) (c1ce5da)
  • zeroconf: add reInit() method (#2144) (7255795)

4.4.2 (2017-11-15)

4.4.1 (2017-11-13)

4.4.0 (2017-11-09)

Features

4.3.3 (2017-11-01)

Bug Fixes

4.3.2 (2017-10-17)

Bug Fixes

  • google-maps: remove type from GoogleMapsEvent constant (4639bf9)

Features

  • pro: support corova-plugin-ionic v2.0.0 (975f08b)

4.3.1 (2017-10-06)

Bug Fixes

Features

  • pro: Add support for Ionic Pro by incorporating cordova-plugin-ionic (465d551)
  • regula-document-reader: separate initialization and scanning, add android (#2013) (2179699)

4.3.0 (2017-09-27)

Bug Fixes

Features

  • android-full-screen: add support for setSystemUiVisiblity (#1942) (4246d47)
  • document-reader: add cordova-plugin-documentreader (#1996) (7b94d4f)
  • extended-device-information: add Extended Device Info plugin (#1980) (806766e)
  • music-controls: add support for next/prev track and skip forward/backward in control center (#1927) (fff9969)
  • push: update PushOptions interfaces to match new version (#1908) (34bf136)
  • qr-scanner: added destroy method (#1916) (#1971) (10eb3ee)
  • uid: add UID plugin (#1946) (e2419a2)

BREAKING CHANGES

4.2.0 (2017-08-26)

Bug Fixes

  • fingerprint-aio: add missing FingerprintOptions properties (#1845) (85825c7)
  • geofence: remove duplicate onTransitionReceived method (00c0707)
  • google-maps: add missing debug option (#1832) (39ec515)
  • ms-adal: make userId optional (#1894) (21045ea)
  • native-geocoder: update NativeGeocoderReverse result (#1840) (7c1b409)
  • native-spinner: update pluginRef (#1859) (262e18f)
  • serial: add missing options for the open method (#1844) (1acade4)
  • sqlite: add optional key parameter to SQLiteDatabaseConfig to support sqlcipher-adapter (#1917) (0c097ba)

Features

4.1.0 (2017-07-21)

Bug Fixes

Features

  • firebase: add unregister method (#1823) (6230958)
  • google-maps: add missing features and fix wrong definitions (#1815) (976401a)
  • hyper-track: add HyperTrack plugin (#1816) (47fa44c)
  • open-native-settings: add Open Native Settings plugin (0fa82e5), closes #1821

4.0.1 (2017-07-15)

Bug Fixes

  • media: fix success/error/statusUpdate observables (7105048), closes #1806
  • social-sharing: fix issues caused by omitting optional params (25c1cf4), closes #1805

Features

  • camera: add enums for camera options (6061af6)
  • launch-navigator: update plugin wrapper to support v4 (9538416), closes #1738
  • media: add MEDIA_STATUS and MEDIA_ERROR enums (1decedd)

4.0.0 (2017-07-11)

Bug Fixes

  • google-analytics: fix parameter types in the trackMetric method (#1780) (7bbd25c)
  • media: wrap plugin callbacks with Observables (0867cff), closes #1591
  • safari-view-controller: show should return an Observable (a6f9714), closes #1619
  • sqlite: fix param type for sqlBatch method (e8faf22), closes #1596

Code Refactoring

  • admob-pro: rename plugin from AdMob to AdMobPro (#1770) (bc6bf66)
  • media: rename main class to Media (#1769) (9f1a0f9)
  • rename plugin to FileTransfer to match original plugin: (#1768) (3c54a1c)

Features

  • email-composer: update plugin to latest version and use original plugin (#1771) (d395b42)
  • google-maps: add GoogleMapOptions interface (aff653d)
  • google-maps: update wrapper to support v2 of the plugin (#1759) (06e666d)
  • ms-adal: add Azure Active Directory Authentication plugin (cf0c740), closes #372
  • onesignal: add new methods (b35dab2), closes #1677
  • qr-scanner: add QRScanner plugin (bde2b38), closes #715

BREAKING CHANGES

  • safari-view-controller: show method now returns an Observable
  • media: the plugin's create method no longer takes callback functions. You must use the observables provided by the MediaObject instance. Refer to the updated documentation for more information.
  • admob-pro: @ionic-native/admob is now @ionic-native/admob-pro. Also, class name is changed from AdMob to AdMobPro.
  • media: MediaObject class is now Media
  • rename plugin to FileTransfer to match original plugin: Package name is now @ionic-native/file-transfer. Transfer class has been renamed to FileTransfer. Also, TransferObject class has been renamed to FileTransferObject.

3.14.0 (2017-07-07)

Features

3.13.1 (2017-07-05)

Bug Fixes

  • document-viewer: make config properties optional (#1767) (5b914d7)

Features

  • app-rate: add function handleNegativeFeedback() (#1748) (e64cc0c)
  • app-rate: add function navigateToAppStore() (#1719) (0c79ac1)

3.13.0 (2017-07-03)

Features

3.12.2 (2017-07-03)

Bug Fixes

  • android-fingerprint-auth: fix return type of isAvailable (#1697) (af91977)
  • ibeacon: optional parameter (#1702) (64ce132), closes #1701
  • local-notifications: add missing priority option (e40247c), closes #1683
  • mobile-accessibility: fix plugin reference (03ac735), closes #1666
  • onesignal: fix getPermissionSubscriptionState return type (#1742) (3c125bb)

Features

  • music-controls: add event for ios control center seek and function to update ios elapsed time (#1727) (593607e)
  • one-signal: add getPermissionSubscriptionState (#1678) (e9283a9)
  • sqlite: support pre-filled databases (#1687) (b52371b)

3.12.1 (2017-06-03)

Code Refactoring

  • phonegap-local-notification: fix class name to match plugin name (c6a76c2)

BREAKING CHANGES

  • phonegap-local-notification: PhonegapLocalNotifications class has been renamed to PhonegapLocalNotification

3.12.0 (2017-06-03)

Features

  • base64: add Base64 plugin (#1645) (793e2e3)
  • firebase-analytics: add firebase analytics plugin (#1647) (3eb69b4)
  • firebase-dynamic-links: add firebase dynamic links plugin (#1649) (0467a0d)

3.11.0 (2017-06-01)

Bug Fixes

Features

3.10.2 (2017-05-20)

Features

  • core: add getSupportedPlatforms method (c8f53d2)

3.10.0 (2017-05-19)

Bug Fixes

  • admob-free: use otherPromise to fix browser development (2bd244a)

Features

3.9.2 (2017-05-17)

Bug Fixes

  • action-sheet: destructiveButtonLast is optional (6416c25)
  • core: decorators should define enumerable properties (22102a7)

3.9.1 (2017-05-17)

Bug Fixes

  • core: fix issues when clearing observables (93a119b)

3.9.0 (2017-05-17)

Bug Fixes

  • android-permissions: fix PERMISSION property and add requestPermission (ebf4028), closes #1574
  • app-preferences: suite is sync (3cb8383), closes #1321
  • background-mode: configure doesn't return anything (92ef4f0), closes #1457
  • in-app-browser: fix on method (975a65d), closes #1446
  • media: create should return null if plugin is not available (d68618f)
  • media: create will always return MediaObject even if plugin doesnt exist (ee4b61e)
  • printer: fix implementation and add pick method (55071c0)
  • push: fix types (ca76593), closes #1331
  • secure-storage: reject the promise if the plugin doesn't exist (#1562) (d5919d1)

Features

  • linkedin: add getActiveSession method (4c8deb2), closes #1570
  • printer: add check method (991f2f0)

3.8.1 (2017-05-16)

Bug Fixes

Features

3.8.0 (2017-05-14)

Bug Fixes

Features

  • video-capture-plus: add Video Capture Plus plugin (#1538) (385da01), closes #709

3.7.0 (2017-05-09)

Bug Fixes

Features

3.6.0 (2017-04-27)

Bug Fixes

  • media: function 'create' never returns media object (#1419) (b58149f)

Features

3.5.0 (2017-04-18)

Bug Fixes

  • core: fix bug when checking if plugin exists (#1348) (4bd6aab)
  • media: fix issue with create method (6bba72d), closes #1333
  • rollbar: fix pluginRef (f396940)

Features

  • action-sheet: update to newest version (9c92580)
  • background-fetch: add status method (6168eae)

3.4.4 (2017-03-30)

Bug Fixes

  • push: hasPermission is part of Push object (145577f), closes #1297

3.4.3 (2017-03-29)

Bug Fixes

  • admob: add missing license property (2b94ffd), closes #1291
  • app-preferences: fix bug with fetch method (65cf94b), closes #1299
  • push: add missing plugin decorator (208748a), closes #1297
  • secure-storage: return unfunctional SecureStorageObject if plugin doesn't exist (b91757e)

Features

  • secure-storage: add keys() and clear() methods (#1281) (8b31d72)

3.4.1 (2017-03-28)

Bug Fixes

3.4.0 (2017-03-28)

Bug Fixes

  • sqlite: fix SQLiteDatabaseConfig interface (ea88c9e), closes #1280

Features

3.3.1 (2017-03-28)

Bug Fixes

  • background-mode: add missing config options (9c30a1d), closes #1277
  • contacts: fix major bug (6e20137)
  • contacts: handle cordova_not_found errors (961727e)
  • core: handle unexpected errors in wrapOtherPromise (9074362), closes #1185
  • core: return errors from CordovaCheck decorators (fd0a2e9), closes #1268
  • sqlite: fixes echoTest and deleteDatabase (01aece1), closes #1275

Features

  • sqlite: add SQLiteDatabaseConfig interface (544e7ef)

3.3.0 (2017-03-27)

Features

  • android-full-screen: add cordova-plugin-fullscreen support (#1255) (b08e3a8)
  • intel-security: add com-intel-security-cordova-plugin support (#1256) (aedc9d6)

3.2.3 (2017-03-24)

Bug Fixes

  • contacts: fix crash if plugin is unavailable (a9a511d), closes #1250
  • core: make properties enumerable (a151295)

3.2.2 (2017-03-23)

3.2.1 (2017-03-23)

Bug Fixes

3.2.0 (2017-03-22)

Bug Fixes

  • media-plugin: MediaPlugin.create promise never fires (#1220) (82d2ae8)

Features

3.1.1 (2017-03-21)

Bug Fixes

  • media-plugin: export MediaPlugin class (cb0a366), closes #1207

3.1.0 (2017-03-20)

Bug Fixes

  • health: fix queryAggregated return type (8cd648d), closes #1200
  • music-controls: fix return types for methods (f3407e5)

chore

Features

BREAKING CHANGES

  • create no longer returns a MediaObject instance. Make changes to your app accordingly.

  • docs update + remove any static methods/properties

  • remove duplicate method

  • remove extra docs

  • remove extra docs

  • docs(): rename plugins

  • chore(decorators): do not check method name on instancecheck

  • chore(decorators): do not check method name on cordovacheck

  • chore(plugin): fix pluginWarn

  • chore(plugin): fix pluginWarn

  • fix(decorators): fix InstanceCheck decorator

  • 3.1.0-rc.5

  • chore(docs): fix readme generation

  • fix(transfer): fix v3 implementation

  • refactor(paypal): PayPal is brand name

  • chore(docs): replace all spaces with dashes

  • chore(): add dashify filter

  • chore(build): add aot path to core tsconfig

  • feat(action-sheet): add ANDROID_THEMES constant

2.9.0 (2017-03-18)

Bug Fixes

  • background-geolocation: configure returns an observable (961cff1)

Features

  • background-mode: added moveToBackground and moveToForeground (#1181) (95ac7e1)

2.8.1 (2017-03-10)

Bug Fixes

Features

  • firebase: add new setScreenName method (0009cbf), closes #1149

2.8.0 (2017-03-04)

Bug Fixes

Features

  • app-preferences: added cordova-plugin-app-preferences support (#1084) (12280dd)
  • health: add wrapper for cordova-plugin-health (#1039) (3500d80)
  • photo-library: added cordova-plugin-photo-library (#1102) (384dfc2)

2.7.0 (2017-03-02)

Bug Fixes

  • core: dont check if method exists when overriding (754c5ec), closes #1043
  • file: fix writeExistingFile (47f48ba), closes #1044

Features

  • background-mode: add missing functions (906401b), closes #1078
  • background-mode: replace event listeners with on method (ffdbab7)
  • diagnostic: add new methods (5144345), closes #1045

2.6.0 (2017-03-02)

Bug Fixes

  • apprate: add missing Windows Store option (#1072) (439ccee)
  • background-geolocation: configure returns a promise (fc87992), closes #1118
  • contacts: allow passing asterisk as contact field type (9c5b593), closes #1093
  • contacts: allow passing asterisk as contact field type (2639486)
  • facebook: fixes issue when not supplying default params (#1088) (85a3a40)
  • file: add missing exports (#1101) (23b97f6)
  • file: platform Browser will raise a an DOMException (#1082) (2fba915)
  • file: remove FileError from return type (#1086) (c1748bb)
  • imagepicker: add outputType option (#1098) (b4b7cfa)
  • media: add missing pauseRecord and resumeRecord methods (#1122) (234ed6e)
  • plugin: revert changes to support stable version (#1116) (104532e), closes #1001
  • push: add the missing option clearBadge (#1087) (70847d1)
  • serial: Serial.requestPermission() options are optional (#1128) (da72500)
  • zip: progress callback is optional (#1049) (83f57b9)

Features

2.5.1 (2017-02-07)

Bug Fixes

  • pin-dialog: add missing errorIndex (b7701cd)

2.5.0 (2017-02-07)

Bug Fixes

  • file-transfer: fix return type of upload method (a5b4632), closes #1002
  • pinterest: fix PinterestPin interface (a03afcf)
  • safari-view-controller: fix issue caused by calling show without options (dc37d8f)

Features

  • background-geolocation: add missing properties for Android (f0cf860)
  • barcodescanner: add option disableSuccessBeep (#1035) (97489ba)
  • inappbrowser: add hide function (#1018) (4ab87d8)

2.4.1 (2017-01-24)

Bug Fixes

  • google-maps: fix event listeners (416071a), closes #999
  • screen-orientation: lockOrientation returns a promise (1c09ee1), closes #939

Features

  • pinterest: add pinterest plugin (466437a)

2.3.2 (2017-01-24)

2.3.1 (2017-01-24)

Bug Fixes

  • battery-status: add missing pluginRef (3da0efe)
  • core: fix exception in CordovaProperty (#998) (cb29363), closes #992
  • core: fix plugin check (da7a370)
  • googlemaps: fix GoogleMapsLaLngBounds (c3127d3), closes #972
  • plugin: adds subscribe() and unsubscribe() (94025a7)
  • add clearAllNotifications() (8c021bc)

Features

  • core: add PluginConfig interface (b983de2), closes #996
  • google-maps: add base class functions (#993) (9f98f8e)

2.3.0 (2017-01-20)

Bug Fixes

  • native-geocoder: fix callback order (dbf95ea)

Features

2.2.17 (2017-01-20)

Bug Fixes

  • app-rate: onRateDialogShow callback (#985) (ab681cc)
  • core: increase deviceready timeout for sanity (0ab14a0)

2.2.16 (2017-01-11)

Features

2.2.15 (2017-01-11)

Bug Fixes

  • apprate: captialize URL in storeAppURL property (b98fa28)
  • ble: stopScan takes no args when used as clear function (#944) (6ddd2aa)
  • onesignal: OSNotification.app_id is optional (#946) (ebf0716)

2.2.14 (2017-01-07)

Bug Fixes

  • google-analytics: fix startTrackerWithId when interval is not provided (49fe24d)
  • google-plus: fixes login without options (ca14bf6), closes #932
  • inappbrowser: fix insertCSS method name (de07df6), closes #921
  • mixpanel: fix issue when not passing eventProperties (#927) (bbf75bc)
  • nfc: add missing param for addMimeTypeListener (#937) (ca60c5b)
  • push: fix typing for additionalData (0d6997c), closes #868

Features

  • background-geolocation: add altitudeAccuracy into response typings (#922) (8eb656c)
  • market: add search method, return promises (d62779a)

2.2.13 (2016-12-27)

Bug Fixes

  • admob: add adId prop to AdMobOptions (d5dfdf8)
  • background-mode: isEnabled and isActive return booleans (ba77fd7), closes #908
  • diagnostic: add missing types (1841220), closes #905
  • diagnostic: add permissionStatus types (#890) (3385c1b)

Features

2.2.12 (2016-12-18)

Bug Fixes

  • camera-preview: parameter size is optional (#871) (61dc8aa)
  • diagnostic: permissionStatus gets values from plugin in runtime (9986e0d), closes #872
  • network: update API (ec5e27b)
  • sms: fix callback index when omitting options param (114a74d), closes #858

Features

  • admob: update api and docs (6ba1d49)

2.2.11 (2016-12-06)

Bug Fixes

  • cordova-property: fixes static properties of classes (7ae6e10)
  • device: fixes device plugin (d918844)

BREAKING CHANGES

  • device: device property no longer exists

2.2.10 (2016-12-04)

Bug Fixes

  • contacts: fix few bugs in Contacts (#846) (b19f6d1)
  • sqlite: add static constructor, and fix resolve type (#697) (9082c5e)

Features

  • actionsheet: add ActionSheetOptions interface (f211da7)
  • googlemap: add disableAutoPan to GoogleMapsMarkerOptions (cf75a53), closes #844
  • googlemaps: add markerClick and infoClick to MarkerOptions (6f7171d), closes #844

2.2.8 (2016-12-01)

Bug Fixes

  • card-io: fix typo in options (e6700a3)
  • add return (3fdc4a8)
  • globalization: add missing parameter to numberToString function (1072ab1), closes #835
  • headercolor: solve typo in usage and chore (bab2971)

Features

  • card-io: add typing for response (2e82320)

2.2.7 (2016-11-24)

Bug Fixes

Features

  • camera-preview: add disable method (6ad54ec)
  • google-analytics: new interval period parameter (abd910d), closes #816
  • google-map: add get and set methods to Marker class (51ab03d), closes #798
  • headercolor: add HeaderColor plugin (93696d5), closes #760

2.2.5 (2016-10-27)

Bug Fixes

  • 3dtouch: add missing property (#739) (757d096)
  • geolocation: fix watchPosition return type (d5310b0), closes #741
  • nfc: fix Ndef class (ac181c5), closes #713
  • sqlite: check if plugin exists before opening database (6f47371)
  • sqlite: check if plugin exists before opening database (c98b4f4)
  • sqlite: fix callback issue with transaction method (a72cd59), closes #732

Features

  • diagnostic: add missing functions (eb03de9), closes #743
  • filepath: add cordova-plugin-filepath (#714) (0660a3b)
  • plugins: add name field (9677656)
  • sms: add hasPermission method (8fbf1f2), closes #721

2.2.4 (2016-10-15)

Bug Fixes

  • sqlite: fix callback order for transaction (#700) (799e2f0)

Features

  • device-feedback: add DeviceFeedback plugin (#696) (bbda6e2)
  • image-picker: add new android methods (3edfafb)
  • mixpanel: MixpanelPeople returns promises (#681) (b95f88c), closes #667

2.2.3 (2016-10-14)

Bug Fixes

  • googlemaps: Expose 'type' property in GoogleMapsLatLngBounds #693 (#694) (74a252b)
  • onesignal: update to match latest API version (#691) (babfb0d)

2.2.2 (2016-10-12)

Bug Fixes

  • file: getFreeDiskSpace now works (d2f42ef)
  • file: read methods can accept Blobs too (276d61b)

Features

  • file: getFile and getDirectory are now public (5c92455), closes #657

2.2.1 (2016-10-12)

Bug Fixes

  • diagnostic: misspelled getContactsAuthorizationStatus method (#678) (bff4862)
  • file: fix writeFile method (842a80d), closes #464 #552 #666
  • file: last parameter for writeFile now only accepts options (5710eb7)
  • http: export via window.IonicNative (#675) (cf7abe1)
  • location-accuracy: accuracy param is number (c2d4f1c), closes #676
  • themeablebrowser: add missed options (#680) (e28e5b0)

Features

  • file: resolveLocalFilesystemUrl and resolveDirectoryUrl are now public methods (542ff4c), closes #657

2.2.0 (2016-10-11)

Bug Fixes

  • native-transitions: add missing interface properties (35c8bbd)
  • onesignal: update to match latest api (#671) (7c6e6d8), closes #667

Features

2.1.9 (2016-10-09)

Bug Fixes

  • googlemaps: fixes GoogleMapsLatLng class (11653ce)
  • paypal: add optional details param to paypalpayment (7200845)
  • paypal: problems with selection of PayPal environment (#662) (3dd6a92)
  • thmeable-browser: fix the name of the plugin (#663) (1368175)

2.1.7 (2016-10-07)

Bug Fixes

  • paypal: fixed currency code not found issue (#653) (598f8a9)

2.1.6 (2016-10-06)

Bug Fixes

  • google-analytics: specify successIndex and errorIndex for methods with optional params (6f23bef)
  • paypal: fix helper classes (f002657)

2.1.3 (2016-10-06)

Bug Fixes

  • google-analytics: add missing methods, fix return types (77b0277)
  • google-analytics: add newSession param (f62e108)
  • google-analytics: fix depreciated plugin reference (40325ca)

2.1.2 (2016-10-06)

Bug Fixes

  • googlemaps: add missing properties (72a694a), closes #642

Features

  • zBar: add zBar barcode scanner plugin (#634) (bbbbb3e)

2.1.0 (2016-10-03)

Bug Fixes

Features

  • ble: add startScanWithOptions (79f0a3f), closes #539
  • googlemaps: support bounds in Geocoder (#599) (66e9e46)
  • location-accuracy: add location accuracy plugin (#583) (60b7c74), closes #484
  • plugin: add getPlugin to plugin interface. Fixes #582 (d45a2b5)
  • plugin: checkInstall w/ warning msg (47112c7)
  • stepcounter: add stepcounter plugin (#607) (a99b753)
  • themable-browser: add ThemableBrowser plugin (b9151bc), closes #549
  • themable-browser: add ThemableBrowser plugin (972d63b), closes #549

2.0.3 (2016-09-24)

Bug Fixes

  • call-number: number should be a string (763ad1b), closes #545
  • googlemaps: CameraPosition target can now be LatLngBounds (23fc908), closes #547
  • npm: duplicate typings (e50b961)
  • plugins: export VideoPlayer. Fixes #563 (4292959)
  • ts: use old ts version for 1.3.x #567 (6a19c8c)
  • webintent: add type param. Fixes #564 (a0b6b10)

Features

  • background-geolocation: add showAppSettings function (281575b), closes #548
  • BackgroundGeolocation: code cleanup (3170686)
  • BackgroundGeolocation: Update to the latest version (808a75e)
  • BackgroundGeolocation: Update to the latest version (919e8da)
  • build: Support ES2015 modules (4014972)
  • emailcomposer: use new supported plugin. #568 (a092a31)
  • localNotifications: added register and has permission functions (#536) (c83b043)
  • npm: typescript 2.0.2 (e7e45f6)
  • plugin: cordova function override. fixes #437 (f60d08b)
  • push: add coldstart property. Fixes #559 (48196da)
  • scripts: publish script with npm and bower. Fixes #448 (3903fee)

1.3.21 (2016-09-07)

Bug Fixes

  • remove CanvasCamera plugin (c75f898)
  • base64togallery: fixes callbacks (#513) (1db1374)
  • diagnostic: Add DENIED_ALWAYS to permissionStatus, also some code formatting (9d573a9)
  • diagnostic: Fix diagnostic objects (cb176aa)
  • diagnostic: Fix permissionStatus object (8f3d36f)
  • diagnostic: Fix typo (f93f958)
  • file: set exclusive to true when replace is false (7910493), closes #516
  • geolocation: retain Observable even during an error condition (#532) (26dead9)
  • googlemaps: moveCamera and animateCamera now return a Promise (d03d70f), closes #511
  • install-instructions: This fixes install instructions for deeplinks, facebook and googlemaps (#499) (877ac27)
  • media: nest the constructor logic (a566240)
  • mixpanel: Make eventProperties optional (#501) (51364f8)
  • ng1: fail gracefully when angular 1 promises can't be retrieved (d135dc2)
  • ng1: grab injector from app. #451 (2dc68a4)
  • social-sharing: shareViaEmail now resolves/rejects when not providing optional args (c76de34)
  • social-sharing: various fixes (#520) (4f97164)

Features

  • file: adds chunked blob writing (#529) (bbbd0d5)
  • file: allows writeFile and writeExistingFile to accept Blob (#527) (393e9d0)
  • googlemaps: can pass HTMLElement to constructor (dff034a)

1.3.20 (2016-08-27)

Bug Fixes

Features

  • canvas-camera: add CanvasCamera support (ad57733)
  • file-chooser: add file chooser plugin support (#495) (94a7dae)
  • file-opener: add file opener support (#497) (21d8122), closes #295
  • music-controls: add music controls plugin support (#494) (4e9bc95)
  • youtube: add Youtube video player plugin support (#496) (0cf7d6a)

1.3.19 (2016-08-27)

Bug Fixes

  • mixpanel: implement CordovaProperty correctly (dd0c9ba)

Features

  • call-number: add support for CallNumber plugin (#487) (759f8ef)
  • market: add Market plugin support (#490) (9bcc4ed)
  • mixpanel: add mixpanel support (#492) (cf8e342)
  • native-page-transitions: add support for Native Page Transitions plugin (#488) (00d87db)
  • nfc: add nfc support (#493) (76aa8a6), closes #412
  • paypal: add PayPal support (#491) (9fe5c19)
  • power-management: add power management support (#489) (cd82a53)
  • streaming-media: add streaming media support (#486) (841b242)

1.3.18 (2016-08-26)

Bug Fixes

Features

1.3.17 (2016-08-23)

Bug Fixes

  • camera-preview: changes implementation to match Cordova plugin (#441) (55ba65a)
  • file: fixes exclusive option (#459) (14e41a3)
  • file: initialize writeFile options (#468) (16628a4)
  • nativeaudio: fix plugin reference (2510c5f)
  • add the reject function at the expected errorIndex position in the args array (#436) (4e87ac7)

Features

1.3.16 (2016-08-15)

Bug Fixes

  • photo-viewer: method is static (8bc499f)

1.3.15 (2016-08-15)

Features

1.3.14 (2016-08-15)

Bug Fixes

  • datepicker: date now accepts Date, string, or number (#428) (aaddd9e), closes #354
  • inappbrowser: fix event listener (4b08d85)

Features

1.3.12 (2016-08-13)

Bug Fixes

  • inappbrowser: fix event listener (618d866)

1.3.11 (2016-08-11)

Bug Fixes

  • backgroundGeolocation: update config and move to sync. Fixes #331 (4e20681)
  • camera: camera options should be optional. Fixes #413 (#417) (c60c3b7)
  • index: export Geolocation interfaces. (#404) (0c486b0)
  • ng1: Copy object properly. Fixes #357 (9ca38cd)

Features

  • file: alternate file implementation (#283) (6ed32ef)
  • GoogleAnalytics: Add campaign measurement tracking (#405) (cf3f0f6)
  • GoogleMaps: Allow specify enableHighAccuracy option that attempt to get your location with highest accuracy (#410) (43e8a6d)
  • ibeacon: using option otherPromise instead of sync (#388) (306cb5d)
  • inappbrowser: implement instance based wrapper (#305) (4b8ab4a)
  • keyboard: enable hideKeyboardAccessoryBar function (#398) (7a84262), closes #394
  • photo-viewer: add wrapper for plugin (#359) (154c029)
  • video-player: Added video player plugin (#391) (cabeeb8), closes #342 #318

1.3.10 (2016-08-01)

Bug Fixes

  • brightness: use correct pluginRef (e20c411)
  • diagnostics: Corrects isEnabled functions to isAvailable (#373) (ccf7fb5)
  • ng1: use $q promises instead of the native Promise (#378) (817a434)
  • one-signal: return Observable instead of promise (#352) (08fe04e)

Features

1.3.9 (2016-07-23)

Bug Fixes

  • file: readAsText() and adds readAsDataURL() in File plugin (#346) (77d31cd)

Features

  • android-fingerprint-auth: add wrapper for plugin (df326f7), closes #334
  • secure-storage: Add Secure Storage Wrapper (#347) (075842d)

1.3.8 (2016-07-20)

Bug Fixes

  • base64togallery: update plugin wrapper to match latest version (d4bee49), closes #335
  • sqlite: fix method attribute typo (#324) (006bc70)

Features

  • facebook: add FacebookLoginResponse interface (8b27bed)
  • otherPromise: can work better with plugins that return promises (#304) (0aee6c8)
  • social-sharing: add canShareViaEmail (#333) (5807dd7)
  • twitter-connect: add twitter connect plugin (979838f), closes #308

1.3.7 (2016-07-18)

Bug Fixes

  • contacts: missing name property, types (#320) (074d166)
  • geolocation: handle errors on watchPosition (1b161d8), closes #322

Features

1.3.6 (2016-07-17)

Bug Fixes

  • googlemaps: able to pass array of LatLng to GoogleMapsLatLngBounds constructor (de14b0e), closes #298
  • launch-navigator: fix the navigate function wrapper to match latest plugin API (6f625f9)

Features

  • camera-preview: add wrapper for camera-preview (#301) (3a1a3ce)
  • launch-navigator: add new methods and constants to match latest plugin API (29de6b3)

1.3.5 (2016-07-17)

Bug Fixes

  • ibeacon: minor fixes (b5a2ffc)
  • safari-view-controller: fix wrappers (b4b3ec0)

Features

  • googlemaps: add Geocoder class (#292) (2996da6), closes #280
  • inAppPurchase: add inAppPurchase (f1988f6)
  • media-capture: add media capture plugin (#293) (daa6d4c), closes #272
  • nativestorage: add NativeStorage plugin wrapper (af5d4ad)
  • pin-dialog: add pin dialog plugin (#291) (2fe37c4)

1.3.4 (2016-07-14)

Bug Fixes

  • touchid: make isAvailable static (c23f5e9)

Reverts

  • changelog: old changelog (0cb79d1)

1.3.3 (2016-07-11)

Bug Fixes

  • actionsheet: add missing optional parameter for hide function (#262) (644e999)
  • background-geolocation: fix pluginref again (b8a5133)
  • geolocation: fix plugin reference (4f0cd24), closes #258
  • googlemaps: use correct methods for addGroundOverlay and addKmlOverlay (#268) (b8be1de)
  • socialsharing: all methods return Promises now (e150224), closes #275
  • remove unnecessary decorator (#257) (25fab64)

Features

  • ibeacon: add iBeacon plugin support (#270) (dd97df1)
  • onesignal: added wrapper for the Cordova OneSignal Plugin (#252) (ba20dbe)
  • push: added support for Action Buttons on iOS with categories (#273) (592feb4)

1.3.2 (2016-06-27)

Bug Fixes

  • build: disable emitDecoratorMetadata option in tsconfig (a5f3d7a), closes #251

1.3.1 (2016-06-26)

Bug Fixes

  • 3dtouch: fix implementation for onHomeIconPressed function (d2b2be6), closes #232
  • sqlite: resolve race condition, add comments (#235) (f1c8ce3)

Features

  • googlemaps: add GoogleMapsLatLngBounds class (17da427)
  • printer: add printer plugin (#225) (48ffcae)

1.3.0 (2016-06-13)

Bug Fixes

  • barcodescanner: add missing options param (4fdcbb5), closes #180
  • base64togallery: method is now static (be7b9e2), closes #212
  • batterystatus: correct plugin name on npm (66b7fa6)
  • calendar: fix some functionality and add missing ones (a15fb01), closes #184
  • deeplinks: new result type (11226d7)
  • deviceorientation: cancelFunction renamed to clearFunction (8dee02e)
  • geolocation: fix watchPosition() (4a8650e), closes #164
  • googlemaps: isAvailable() returns boolean, not an instance of GoogleMap (a53ae8f)

Features

  • angular1: Support Angular 1 (af8fbde)
  • barcodescanner: add encode function (e73f57f), closes #115
  • deeplinks: Add Ionic Deeplinks Plugin (c93cbed)

1.2.3 (2016-06-01)

1.2.2 (2016-05-20)

Bug Fixes

  • Bluetooth: make connect function an observable to maintain full functionality (58e3f0b), closes #154
  • calendar: add new permissions functions for Android 6 (M) devices (ddbd64d), closes #156
  • emailcomposer: fix isAvailable function (2a568d2), closes #168

1.2.1 (2016-05-11)

Bug Fixes

  • contacts: plugin rewrite (aada893)

Features

  • plugin: add wrapper for instance properties (28d7d5c)

1.2.0 (2016-04-30)

Bug Fixes

  • BluetoohSerial: add missing plugin reference (317437b)
  • GoogleAnalytics: addCustomDimension() key param is number (3865ea4), closes #131
  • keyboard: remove hideKeyboardAccessoryBar method for now (292c80c)
  • launchnavigator: bug fix (4ead1ae)
  • launchnavigator: start parameter is optional (5e7378a)
  • localnotifications: options can be an array (e10d744)
  • plugin: handle rejection when Cordova is undefined (db07768)
  • plugin: remove unecessary code (4070991)
  • push plugin: senderId is optional in iosPushOptions (48bf837)
  • spinnerdialog: fix functionality (66f0e03)
  • vibration: fix plugin reference (beeb075), closes #106

Features

  • camera: add camera constants (ce02d82), closes #129
  • ionicnative: add instance wrapper (0ec737a)
  • keyboard: add event listeners for keyboard show/hide events (c947437)
  • media: add media plugin (1105b57), closes #88
  • plugin: add admob pro plugin (d9b847b), closes #146
  • plugin: add Bluetooth Serial plugin (837fb95), closes #136
  • plugin: add email composer plugin (804c9ee)
  • plugin: add InAppBrowser plugin (b8d2cfd)
  • plugin: add social sharing plugin (efc8231)
  • plugin: add spinner dialog plugin (812653c)
  • plugin: add web intent plugin (e2fc9a0)
  • toast: add new features to toast plugin (ed7e783)
  • webintent: add plugin to index (f357b56)

Performance Improvements

  • ionicnative: instance wrapper cleanup and optimization (5a8d48e)

1.1.0 (2016-03-17)

Bug Fixes

  • datepicker: datepicker options are optional (c3cfd14)
  • datepicker: dates are Dates (ce6adcc)
  • datepicker: fix plugin functionality (1a778e7)
  • datepicker: fix plugin functionality (91de971)
  • devicemotion: combine watch and clear into one function (d17f62d)
  • geolocation: set callback order to reverse on getCurrentPosition (1fac387)
  • imagepicker: pluginRef (01d7972)
  • interface: params are optional (e708bc6)
  • launchnavigator: fix Plugin decorator property value (9e17e25)
  • plugin: combine watch and clearwatch functions (8855359)
  • plugin: don't call reject when sync (1334f60)
  • plugin: export interfaces (1e259da)
  • plugin: fix options properties (44365f4)
  • plugin: fix types (c86e135)
  • plugins: cleanup and add new plugins to index (1771f7b)
  • plugins: fix optional options (9ef850c)
  • added dummy boolean (2caa151)
  • fix callback order (5fda6d4)
  • fix callback order (5944bd1)
  • fix options params (c71f8d4)
  • remove confirm callback, not needed. (662d8ce)

Features

  • batterystatus: complete functionality (e7a09d9)
  • localnotification: complete functionality (5d5bae3)
  • package: expose decorators and wrapper functions (848d706)
  • plugin: add android hotspot plugin (e1dc606)
  • plugin: add app availability plugin (3d188e1)
  • plugin: add base64 to gallery (8c17a2a)
  • plugin: add DB Meter (22bb218)
  • plugin: add device motion plugin (a4df21e)
  • plugin: add device orientation plugin (9766aab)
  • plugin: add dialogs plugin (b5f9267)
  • plugin: add event wrapper (0d1bd13)
  • plugin: add flashlight plugin (3ec25fa)
  • plugin: add functionality to app-availablity plugin (bc4dcaa)
  • plugin: add functionality to device motion plugin (7f7ba3b)
  • plugin: add globalization (90cc36b)
  • plugin: add imagePicker plugin (287d129)
  • plugin: add keyboard (a80c4ee)
  • plugin: add launch navigator (984e7fc)
  • plugin: add launch navigator (18df9a5)
  • plugin: add local notifications (66df0a6)
  • plugin: add sms (6843177)
  • plugin: add sms plugin (aa7e04c)
  • plugin: add splashscreen (0f3c188)
  • plugin: add vibration (3cc4ee4)
  • plugin: proxy plugin properties (fc54fef)
  • plugin: show instructions if plugin not installed (c48a851)
  • plugins: add new plugins to index (4d8dc1b)
  • plugins: add platforms info (9826dfd)

1.0.9 (2016-02-18)

Bug Fixes

  • datepicker plugin, pluginref, and @Cordova wrapper (499ead3)
  • calendar: make getCalendarOptions sync (78c5408)
  • geolocation: call correct clearFunction (9e86a40)
  • plugin: return originalMethod return value (240f0f8)
  • plugin: use call for id based clearFunction (c2fdf39)

Features

  • add app version plugin (20cb01f)
  • add app version plugin (8b78521)
  • add apprate (0dd4fec)
  • add badge plugin (7f01fb2)
  • add badge plugin (3088df4)
  • add clipboard plugin (0b6cca7)
  • add clipboard plugin (fa4c266)
  • DatePicker: Added DatePicker (5afa58f)
  • plugin: add sync option to @Cordova for sync functions (17e3827)
  • plugin: call clearFunction with original fn args (8f27fc9)