Skip to content

v5.0.0-beta.0

Pre-release
Pre-release

Choose a tag to compare

@ihadeed ihadeed released this 08 Dec 22:19

馃毀 This is a Beta version 馃毀
鈿狅笍 When installing this version from NPM, you must specify the @beta tag. Example: npm i --save @ionic-native/core@beta 鈿狅笍

Features

  • AngularJS support
  • Vanilla JS support

Upgrade instructions for Ionic 2/3 apps:

  • Must have Angular 5.x installed
  • Add /ngx to the end of every import. Example: imports from @ionic-native/camera must be changed to @ionic-native/camera/ngx

Upgrade instructions for Ionic 1 apps (using Ionic Native 2.x):

  • Use the compiled JS files attached to this release
  • Everything should work the same way as Ionic Native 2.x

Install instructions for Vanilla JS apps:

To use as ES2015 modules:

  • Install @ionic-native/core
  • Install any @ionic-native/* packages you want to use
  • Import classes and use them as static classes even if the docs specify otherwise. Example: Camera.getPicture(...)

To use as ES5 script:

  • Download the attached JS file
  • Include in your app's index.html
  • Access plugin objects via the global window.IonicNative variable. Example: IonicNative.Camera.getPicture(..)