APAR status
Closed as program error.
Error description
* Product components impacted: Mobile Foundation CLI * Affected mobile development environments: Windows * Mobile Device Operating Systems impacted: Android * User roles impacted: developer * Distribution: Fix Central * Versions affected: 8.0 When an Android app is built with web resources encrypted on a Windows development machine, the following error is seen when the app is launched on an Android device : 09:32:48.603 4829-4829/appId D/CordovaWebViewImpl: >>> loadUrl(file:///data/user/0/appId/no_backup/www/index.html) 09:32:48.633 4829-4829/appId D/CordovaWebViewImpl: onPageDidNavigate(file:///data/user/0/appId/no_backup/www/index. html) 09:32:48.642 4829-4870/appId W/cr_media: Requires BLUETOOTH permission 09:32:48.649 4829-4829/appId D/SystemWebViewClient: CordovaWebViewClient.onReceivedError: Error code=-1 Description=net::ERR_FILE_NOT_FOUND URL=file:///data/user/0/appId/no_backup/www/index.html 09:32:48.722 4829-4848/appId D/FA: Connected to remote service 09:32:48.723 4829-4848/appId V/FA: Processing queued up service tasks: 4 09:32:48.806 4829-4829/appId D/CordovaWebViewImpl: onPageFinished(file:///data/user/0/appId/no_backup/www/index.htm l) This is only seen when the app is built on a Windows development machine.
Local fix
Use a Mac machine to build the project and use the webencrypt command
Problem summary
**************************************************************** * USERS AFFECTED: * * Developers using the mfpdev CLI command `mfpdev app * * webencrypt` on a Windows machine * **************************************************************** * PROBLEM DESCRIPTION: * * An Cordova Android app built with the web resources * * encrypted on a Windows development machine throws an error * * upon launch and the app crashes. * * This is seen only when the `mfpdev app webencrypt` command * * is run on a Windows development machine. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The problem has been fixed by accommodating changes to work on the Windows platform. Update the cordova-plugin-mfp to the iFix with the fix and rebuild the app.
Temporary fix
Comments
APAR Information
APAR number
PH19843
Reported component name
MOBILE1ST PLATF
Reported component ID
5725I4301
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-12-03
Closed date
2020-01-08
Last modified date
2020-01-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MOBILE1ST PLATF
Fixed component ID
5725I4301
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
08 January 2020