v5.0.0-beta.0
Pre-release
Pre-release
馃毀 This is a Beta version 馃毀
@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
/ngxto the end of every import. Example: imports from@ionic-native/cameramust 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.IonicNativevariable. Example:IonicNative.Camera.getPicture(..)