hello friends,
Geofence and OneSignal these two plugins not working with together.
the main issue is after plugins installation my app is installed successfully on device (tested on android) but when click to the open app that time app is crash (not open).
after then i have checked with only one plugin at a time then its working fine.
Steps
1 - Create new application.
2 - install plugins
- Geofence
$ ionic cordova plugin add cordova-plugin-geofence
$ npm install --save @ionic-native/geofence
- OneSignal
$ ionic cordova plugin add onesignal-cordova-plugin
$ npm install --save @ionic-native/onesignal
3 - run app on device (without doing any changes)
- Ionic cordova run android
Ionic Info
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.10
Cordova Platforms : android 6.3.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 25.2.5
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v8.11.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.3 Build version 9E145
Environment Variables:
ANDROID_HOME : /Volumes/TimeMachine/Android_SDK
Misc:
backend : pro
Please help me,
thanks