This issue is for both platform ios and android.
Cordova : 7.1.0
npm: 6.4.1
node : v8.12.0
my package.json :
{
“name”: “MyRetailShop”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“start”: “ionic-app-scripts serve”,
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”
},
“dependencies”: {
“@angular/animations”: “5.2.11”,
“@angular/common”: “5.2.11”,
“@angular/compiler”: “5.2.11”,
“@angular/compiler-cli”: “^8.0.0”,
“@angular/core”: “5.2.11”,
“@angular/forms”: “5.2.11”,
“@angular/http”: “5.2.11”,
“@angular/platform-browser”: “5.2.11”,
“@angular/platform-browser-dynamic”: “5.2.11”,
“@ionic-native/core”: “~4.20.0”,
“@ionic-native/geofence”: “^4.20.0”,
“@ionic-native/open-native-settings”: “^4.20.0”,
“@ionic-native/splash-screen”: “~4.20.0”,
“@ionic-native/status-bar”: “~4.20.0”,
“@ionic/pro”: “2.0.4”,
“@ionic/storage”: “2.2.0”,
“cordova-android”: “^8.0.0”,
“cordova-ios”: “4.5.5”,
“cordova-open-native-settings”: “^1.5.2”,
“cordova-plugin-add-swift-support”: “1.7.2”,
“cordova-plugin-compat”: “^1.2.0”,
“cordova-plugin-device”: “^2.0.2”,
“cordova-plugin-geofence”: “git+https://github.com/cowbell/cordova-plugin-geofence.git”,
“cordova-plugin-ionic-keyboard”: “^2.1.3”,
“cordova-plugin-ionic-webview”: “^4.0.1”,
“cordova-plugin-splashscreen”: “^5.0.2”,
“cordova-plugin-statusbar”: “^2.4.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“es6-promise-plugin”: “^4.2.2”,
“ionic-angular”: “3.9.5”,
“ionicons”: “3.0.0”,
“rxjs”: “5.5.11”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.29”
},
“devDependencies”: {
“@ionic/app-scripts”: “^3.2.3”,
“typescript”: “~2.6.2”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-whitelist”: {},
“cordova-plugin-statusbar”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-ionic-keyboard”: {},
“cordova-open-native-settings”: {},
“cordova-plugin-add-swift-support”: {},
“cordova-plugin-geofence”: {
“GEOFENCE_ALWAYS_USAGE_DESCRIPTION”: “{EXECUTABLE_NAME} Would Like to Use Your Current Location Even In Background.",
"GEOFENCE_IN_USE_USAGE_DESCRIPTION": "{EXECUTABLE_NAME} Would Like to Use Your Current Location When In Use.”
}
},
“platforms”: [
“ios”,
“android”
]
}
}
As you can see below there are no any error :