Skip Navigation

BlackBerry Dynamics SDK for Cordova
 version 7.0

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

Feature
Description
Changes to software requirements
  • Added support for 
    Cordova
     9
  • Removed support for 
    Cordova
     8.1.2
Changes to environment variables for 
Android
The environment variable ANDROID_HOME is deprecated in this release and is replaced with ANDROID_SDK_ROOT. This variable sets the path to the SDK installation directory. Once the value is set, it typically does not change.  For more information, see Android Studio: Environment variables. If you continue to use ANDROID_HOME, note the following:
  • If ANDROID_HOME is defined and contains a valid SDK installation, the value defined for ANDROID_HOME is used instead of the value defined for ANDROID_SDK_ROOT.
  • If a value is not defined for ANDROID_HOME, the value defined for ANDROID_SDK_ROOT is used.
  • If a value for ANDROID_HOME is defined but does not exist or does not contain a valid SDK installation, the value defined for ANDROID_SDK_ROOT is used. 
UIWebView support deprecated
Support for UIWebView is deprecated in this release and will be removed in a future release. Use WKWebView instead.
Changes to the 
BlackBerry Dynamics SDK for Cordova
 plug-ins for 
iOS
The 
BlackBerry Dynamics SDK for Cordova
 plug-ins are now using NSURLSession intead of NSURLConnection. This change affects the following plug-ins:
  • cordova-plugin-bbd-httprequest
  • cordova-plugin-bbd-filetransfer

BlackBerry Dynamics Launcher Library

This release uses the following versions of the 
BlackBerry Dynamics Launcher Library
:
  • Android
    : 3.0.1.171
  • iOS
    : 3.0.1.257 

BlackBerry Analytics
 library

This release uses the following versions of the 
BlackBerry Analytics
 library:
  • Android
    : 3.0.0.37
  • iOS
    : 3.0.0.48

Supported versions of the core 
BlackBerry Dynamics SDK

  • BlackBerry Dynamics SDK for Android
     version 7.0.x and 7.1.x
  • BlackBerry Dynamics SDK for iOS
     version 7.0.x and 7.1.x 

Fixed issues

The following issues are fixed in this release:
  • Ajax implementations of XMLHttpRequest now use UTF8 as the default encoding. (GD-48461)
  • In an Ionic project, the keyboard orientation lock did not work in portrait mode. (GD-47679)
  • Previously, onSocketResponse was not raised until the server closed the connection in GDSocket. Now an app can stream after a connection is established without having to call the send() method on socket. (GD-45965)
  • An HTTP request that was made using the GDSocket layer did not get a response when filtered by the responseType: "message". (GD-45532)

Known issues

  • If you try to add the 
    Android
     platform (
    ionic cordova platform add android
    ) to an 
    Ionic
     app, the command fails due to an edit-config conflict. This occurs because the same tag from AndroidManifest.xml is being modified by different parts of the application, including plugin.xml and application config.xml. This is a third-party limitation; for more information, see Managing edit-config conflicts. (GD-42696)
    Workaround
    : Resolve the conflicting edit-config tags before adding the plug-in.
  • If you remove cordova-plugin-bbd-launcher and then build the app, the build fails. This occurs because build artifacts (.dex and .class files) remain from the Launcher plug-in. (GD-40355)
    Workaround
    : Run the build again to remove the build artifacts.
  • If a 
    BlackBerry Dynamics
     app for 
    iOS
     uses the cordova-plugin-bbd-sqlite plug-in and the 
    Cordova
     PushNotification plug-in (phonegap-plugin-push), a compilation error is thrown. There is a conflict between the public SQLite library that is used by the PushNotification plugin and the secured version of the SQLite library that is used by the cordova-plugin-bbd-sqlite plug-in. (GD-39022)
    Workaround
    : Remove the 
    -l"sqlite3"
     flag from the following files:
    • <app>
      /platforms/ios/Pods/Target Support Files/Pods-Blank/Pods-Blank.release.xcconfig
    • <app>
      /platforms/ios/Pods/Target Support Files/Pods-Blank/Pods-Blank.debug.xcconfig
    Note the following when using the PushNotification plug-in in a 
    BlackBerry Dynamics
     app:
    • The PushNotification plug-in adds links to FirebaseMessaging.framework and PushKit.framework. These frameworks use the public version of SQLite. Any database with the name rmq2.sqlite exists outside of the secure 
      BlackBerry Dynamics
       container.
    • The PushNotification plug-in does not work as expected when the app is idle locked.
    • When an app is started as a result of receiving a push notification, the app cannot retrieve the body of the notification.