Hello, I am facing some problems with integrating a push notification feature to my app, same error is showing with phonegap and firebase, any idea? I think it’s a plugin issue but can’t figure out which plugin is causing the problem! If I remove the push notification plugin the app builds successfully
This is my package.json:
“dependencies”: {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@ionic-native/app-version": "^4.20.0",
"@ionic-native/core": "4.20.0",
"@ionic-native/facebook": "^4.20.0",
"@ionic-native/geolocation": "^4.3.2",
"@ionic-native/http": "^4.20.0",
"@ionic-native/in-app-browser": "^4.20.0",
"@ionic-native/ionic-webview": "^5.26.0",
"@ionic-native/market": "^4.20.0",
"@ionic-native/network": "^4.20.0",
"@ionic-native/onesignal": "^3.14.0",
"@ionic-native/social-sharing": "^4.20.0",
"@ionic-native/splash-screen": "4.20.0",
"@ionic-native/status-bar": "4.20.0",
"@ionic/storage": "2.2.0",
"cordova-android": "8.1.0",
"cordova-browser": "6.0.0",
"cordova-ios": "^5.1.1",
"cordova-plugin-advanced-http": "^2.4.1",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-geolocation": "^4.0.2",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-market": "^1.2.0",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-socialsharing": "^5.6.6",
"cordova-res": "^0.14.0",
"es6-promise-plugin": "^4.2.2",
"ionic-angular": "3.9.9",
"ionic-img-viewer": "^2.9.0",
"ionic-rating": "^2.0.0",
"ionic-selectable": "^3.4.0",
"ionic3-star-rating": "^2.1.2",
"ionicons": "3.0.0",
"ngx-rating": "0.0.9",
"onesignal-cordova-plugin": "2.1.2",
"rxjs": "5.5.11",
"sw-toolbox": "3.6.0",
"web-animations-js": "^2.3.2",
"zone.js": "0.8.29"
},
“devDependencies”: {
"@ionic/app-scripts": "3.2.4",
"@ionic/lab": "3.1.7",
"typescript": "2.6.2"
},
“description”: “An Ionic project”,
“cordova”: {
"plugins": {
"cordova-plugin-advanced-http": {
"OKHTTP_VERSION": "3.10.0"
},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-x-socialsharing": {
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."
},
"cordova-plugin-app-version": {},
"cordova-plugin-market": {},
"cordova-plugin-network-information": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-geolocation": {},
"cordova-plugin-ionic-webview": {},
"onesignal-cordova-plugin": {}
},
"platforms": [
"ios",
"android",
"browser"
]
}
}