Ionic 4 iOS native app starts in safari with error page

Hi guys, I’ve deployed my ionic app on iOS. When I was running the app with Ionic DevApp everything was working correct , when I’ve deployed my app on my iPhone 6 (ios version - 10.3.3) , when run the app , it automatically opened safari blank page with error for (localhost:8080) , also the app doesn’t start but stucked on the loading bar … any suggestions ? I’ve been reading that the issue was the version of the cordova-plugin-ionic-webview, anyway I’ve installed the latest 2.2.0 (built the app and run it again, still the same :frowning: ) , also when I’ve inspected the app through safari technology , there’s a console.log which logs - exception nativeEvalAndFetch : ReferenceError: Can't find variable: cordova , I will be really appreciated to receive any help so I can run my app on the iOS … thanks!

Pasting dependencies below:

“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/http”: “5.2.11”,
@angular/platform-browser”: “5.2.11”,
@angular/platform-browser-dynamic”: “5.2.11”,
@ionic-native/core”: “~4.11.0”,
@ionic-native/device”: “^4.12.2”,
@ionic-native/screen-orientation”: “^4.12.0”,
@ionic-native/splash-screen”: “~4.11.0”,
@ionic-native/status-bar”: “~4.11.0”,
@ionic/storage”: “2.1.3”,
“cordova-ios”: “4.5.5”,
“cordova-plugin-device”: “^2.0.2”,
“cordova-plugin-ionic-keyboard”: “^2.1.2”,
“cordova-plugin-ionic-webview”: “^2.2.0”,
“cordova-plugin-splashscreen”: “^5.0.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“ionic-angular”: “3.9.2”,
“ionicons”: “3.0.0”,
“ng-inline-svg”: “^8.0.2”,
“ngx-pinch-zoom”: “^1.2.0”,
“rxjs”: “5.5.11”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.26”,
“cordova-sqlite-evcore-extbuild-free”: “^0.9.7”
},

Just solved the issue, the problem was I didn’t add the following configs.

Config.xml

<access origin="http://localhost:8080" />
<allow-navigation href="http://localhost:8080/*" />
<allow-intent href="http://localhost:8080/*" />