Getting an error when using the @ionic-native/app-version plugin with Ionic4 Beta.
Error
Object(…) is not a function --> index.js
Using these…
@ionic-native/core:5.0.0-beta.21,
@ionic/angular:4.0.0-beta.15-0,
@ionic-native/app-version:^4.17.0,
.
.
cordova-plugin-app-version:^0.1.9
In app.module.ts
import{ AppVersion } from '@ionic-native/app-version;
providers: […AppVersion…]
The same code is working fine in ionic3