cordova-plugin-code-push
cordova-plugin-code-push copied to clipboard
Error loading
Description
Running on physical device I get this error -->
[Error] Failed to load resource: the server responded with a status of 404 () (acquisition-sdk.js.map, line 0)
Reproduction
Just build and run the plugin on iOS device
Additional Information
-
cordova-plugin-code-push version: lastest
-
List of installed plugins: code-push 2.0.6 "CodePushAcquisition" cordova-plugin-app-version 0.1.9 "AppVersion" cordova-plugin-camera 4.0.3 "Camera" cordova-plugin-code-push 1.11.18 "CodePush" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.2 "Device" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-file 4.3.3 "File" cordova-plugin-file-opener2 2.2.0 "File Opener2" cordova-plugin-file-transfer 1.6.3 "File Transfer" cordova-plugin-inappbrowser 3.0.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview" cordova-plugin-screen-orientation 3.0.1 "Screen Orientation" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-plugin-x-socialsharing 5.4.7 "SocialSharing" cordova-plugin-zip 3.1.0 "cordova-plugin-zip" cordova-sqlite-storage 3.2.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version" es6-promise-plugin 4.2.2 "Promise" phonegap-plugin-push 2.2.3 "PushPlugin" tealium-cordova-plugin 1.1.2 "TealiumCordova"
-
Cordova version: 9.0.0, lastest iOS and Android engines (5.0.1 and 8.0.0)
-
iOS/Android/Windows version: Lastest
-
Does this reproduce on a debug build or release build? All
-
Does this reproduce on a simulator, or only on a physical device? All
Same issue here. have you found a fix/workaround yet?
Same for me... Any News? Only happens on iOS for me.
i have the same issue .. any update?
With last version is working but error still
it worked when i followed below steps: ionic cordova plugin rm cordova-plugin-code-push npm uninstall --save @ionic-native/code-push@4 and then add the latest version ionic cordova plugin add cordova-plugin-code-push npm install @ionic-native/code-push
and then the magic remove the reference of .js.map file from plugin.xml
<YOURPROJECT>/plugins/code-push/plugin.xml
also make sure you use ngx version for sync. import { CodePush, InstallMode, SyncStatus } from '@ionic-native/code-push/ngx';
Same problem happening on 1.12.5, when I run the ios app I get this error on the object inspector console:
[Error] Failed to load file://null/private/var/containers/Bundle/Application/5D6AC451-BE17-4578-AE31-D4B272AEB6DB/EasyEdu.app/www/plugins/code-push/script/acquisition-sdk.js.map resource: The requested URL was not found on this server. (acquisition-sdk.js.map, line 0)
I already tried to reinstall the plugin but it didn't solved the problem.
+1
I tried to fix this, but it doesn't appear to have any impact on the functionality of the app. If you turn off code maps in your debug tools, this error won't show up.