BlackBerry Dynamics SDK for Cordova version 7.0
BlackBerry Dynamics SDK for Cordova
version 7.0What's new in the BlackBerry Dynamics SDK for Cordova version 7.0
BlackBerry Dynamics SDK for Cordova
version 7.0Feature | Description |
---|---|
Changes to software requirements |
|
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:
|
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:
|
BlackBerry Dynamics Launcher Library
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
BlackBerry Analytics
libraryThis 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
- BlackBerry Dynamics SDK for Androidversion 7.0.x and 7.1.x
- BlackBerry Dynamics SDK for iOSversion 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 theAndroidplatform (ionic cordova platform add android) to anIonicapp, 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 aBlackBerry Dynamicsapp foriOSuses the cordova-plugin-bbd-sqlite plug-in and theCordovaPushNotification 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 aBlackBerry Dynamicsapp:- 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 secureBlackBerry Dynamicscontainer.
- 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.