Skip Navigation

BlackBerry Dynamics SDK for Cordova
 version 4.2

What's new in the 
BlackBerry Dynamics SDK for Cordova
 version 4.2

Feature
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
  • This release adds support for 
    Android
     9 and 
    iOS
     12.
  • This release supports 
    Cordova
     8.0.0. The 
    Cordova
     7.x libraries are no longer supported.
  • Ionic
     1 and 2 are no longer supported. 
    Ionic
     3 is still supported.

Fixed issues

The following issues are fixed in this release:
  • When using the 
    BlackBerry Dynamics SDK for Cordova
     4.0 and the 
    BlackBerry Dynamics SDK for Android
     4.0, the following error might have occured when the 
    Cordova
     plugin was added to a project: “'rm' is not recognized as an internal or external command, operable program or batch file.” (FIRST-16051)
  • When using the 
    BlackBerry Dynamics SDK for Android
     with the 
    BlackBerry 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 the 
    BlackBerry Dynamics SDK for Cordova
     4.2 with the 
    BlackBerry Dynamics SDK for iOS
     4.2, only a single instance of WKWebView is supported. As a result, the InAppBrowser plugin is not fully supported for the 
    Cordova
     SDK. The main app and InAppBrowser WebView works, but 
    BlackBerry
     cannot 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, 
    Facebook
     videos do not play. (GD-36869)
  • When using 
    iOS
     12 and 
    Xcode
     10, the cordova build command fails with the following error: “DVTProvisioningProfileManager: Failed to load profile”. 
    Cordova
     8.0.0 does not currently support 
    Xcode
     10. For more information, see Can't build the application using command line tool Xcode 10.0. (GD-36315)
    Workaround
    : The following workarounds require 
    Cordova
     
    iOS
     4.5.5 or later. New projects will use this version by default. You can modify existing projects to use this version by updating the 
    Cordova
     
    iOS
     platform (for example, by running 
    cordova 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 an 
      Ionic
       app: 
      ionic cordova build ios – --buildFlag="-UseModernBuildSystem=0"
    Alternatively, you can create a build.json file at the root of your 
    Cordova
     app that contains the following: 
    { "ios": { "debug": { "buildFlag": [ "-UseModernBuildSystem=0" ] }, "release": { "buildFlag": [ "-UseModernBuildSystem=0" ] } } }
    For more information, see Status of Xcode 10 support.
  • BlackBerry Dynamics
     app cannot start on a simulated device with the command ‘ionic cordova emulate ios’. (GD-31098)
  • When using mailto: on 
    Android
    , encoded characters might not be parsed correctly. (GD-30517)
  • The mailTo method from Send Email Service is not supported for 
    iOS
    . (GD-30132)
  • If an 
    iPhone
     is 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 in 
    iOS
     WebView. (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"”, on 
    iOS
     devices the app name is missing spaces (for example, helloworldhello). (GD-29277)