BlackBerry Dynamics SDK for Cordova version 4.2
BlackBerry Dynamics SDK for Cordova
version 4.2What's new in the BlackBerry Dynamics SDK for Cordova version 4.2
BlackBerry Dynamics SDK for Cordova
version 4.2Feature | Description |
---|---|
WKWebView support for Cordova plugins | This release adds support for WKWebView. For more information, see the Development Guide. |
Android compatibility | The BlackBerry Dynamics SDK for Cordova version 4.2 requires minimum Android API level 23. The BlackBerry Dynamics SDK for Android 4.2 requires minimum Android API level 21.Both SDKs are compatible, but note that if you are using the BlackBerry Dynamics SDK for Android 4.2, the BlackBerry Dynamics SDK for Cordova does not support Android L devices with API level 21 or 22. |
Changes to software requirements |
|
Fixed issues
The following issues are fixed in this release:
- When using theBlackBerry Dynamics SDK for Cordova4.0 and theBlackBerry Dynamics SDK for Android4.0, the following error might have occured when theCordovaplugin was added to a project: “'rm' is not recognized as an internal or external command, operable program or batch file.” (FIRST-16051)
- When using theBlackBerry Dynamics SDK for Androidwith theBlackBerry Dynamics SDK for Cordova, building an app might have failed with a “transformClassesWithDexForDebug” error. (FIRST-15044)
- If an app used TypeScript for network requests, the requests did not complete successfully. To resolve this issue, remove the cordova-plugin-ionic-webview plugin from the project and rebuild the project again. (FIRST-14994)
Known issues
- When using theBlackBerry Dynamics SDK for Cordova4.2 with theBlackBerry Dynamics SDK for iOS4.2, only a single instance of WKWebView is supported. As a result, the InAppBrowser plugin is not fully supported for theCordovaSDK. The main app and InAppBrowser WebView works, butBlackBerrycannot guarantee that the behavior is correct. (GD-37588)Workaround: To use a single instance of WKWebView, remove the preference “CordovaWebViewEngine” from the config.xml file.
- When using WKWebView, some files types, including .ppt, .jpeg, .zip, .mpeg4, and .pdf, do not download as expected. For more information about the root cause, see https://bugs.webkit.org/show_bug.cgi?id=154916. (GD-36904)
- When using the WKWebViewEngine and InAppBrowser plugins,Facebookvideos do not play. (GD-36869)
- When usingiOS12 andXcode10, the cordova build command fails with the following error: “DVTProvisioningProfileManager: Failed to load profile”.Cordova8.0.0 does not currently supportXcode10. For more information, see Can't build the application using command line tool Xcode 10.0. (GD-36315)Workaround: The following workarounds requireCordovaiOS4.5.5 or later. New projects will use this version by default. You can modify existing projects to use this version by updating theCordovaiOSplatform (for example, by runningcordova platform update ios).Use the following commands:
- To build your app:cordova build ios --buildFlag="-UseModernBuildSystem=0"
- To run your app:cordova run ios --buildFlag="-UseModernBuildSystem=0"
- To build anIonicapp:ionic cordova build ios – --buildFlag="-UseModernBuildSystem=0"
Alternatively, you can create a build.json file at the root of yourCordovaapp that contains the following:{ "ios": { "debug": { "buildFlag": [ "-UseModernBuildSystem=0" ] }, "release": { "buildFlag": [ "-UseModernBuildSystem=0" ] } } }For more information, see Status of Xcode 10 support. - ABlackBerry Dynamicsapp cannot start on a simulated device with the command ‘ionic cordova emulate ios’. (GD-31098)
- When using mailto: onAndroid, encoded characters might not be parsed correctly. (GD-30517)
- The mailTo method from Send Email Service is not supported foriOS. (GD-30132)
- If aniPhoneis in silent mode, WebView does not play sound on internal speakers and audio can only be heard using headphones. This is a known issue with HTML5 audio and video tags iniOSWebView. (GD-29497)
- If you create a new app using a command such as “$ cordova create TestApp com.good.gd.example.pg.blank "hello world hello"”, oniOSdevices the app name is missing spaces (for example, helloworldhello). (GD-29277)