Skip Navigation

BlackBerry Dynamics SDK for Cordova
version 11.1.0.9

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

Item
Description
Bug fixes
The
BlackBerry Dynamics SDK for Cordova
has been updated to fix issues related to the BlackBerry Dynamics Ionic Capacitor plug-in and the MailTo sample app. For more information, see the Fixed issues below.

Supported versions of the core
BlackBerry Dynamics SDK

  • BlackBerry Dynamics SDK for Android
    version 11.2.x
  • BlackBerry Dynamics SDK for iOS
    version 11.2.x
  • BlackBerry Dynamics SDK for Android
    version 11.1.x
  • BlackBerry Dynamics SDK for iOS
    version 11.1.x

BlackBerry Dynamics Launcher Library

This release uses the following versions of the
BlackBerry Dynamics Launcher Library
:
  • Android
    : 3.5.0.234
  • iOS
    : 3.5.0.328

Fixed issues

The following issues are fixed in this release:
The MailTo sample app would compose emails without attachments. (GD-61305)
The
BlackBerry Dynamics
Ionic
Capacitor plug-in would remove or disable other plug-ins. (GD-60255)

Known issues

When you build a
BlackBerry Dynamics
Cordova
app for
Android
, the build will fail if cordova-plugin-barcodescanner is present.
Workaround
: Remove the “com.google.zxing.client.android.captureactivity” lib from platforms/android/app/libs. In AndroidManifest.xml, use com.journeyapps.barcodescanner.CaptureActivity instead of com.google.zxing.client.android.CaptureActivity.
Due to an outstanding
Ionic
issue, if an
Ionic
5 project uses devDependency @angular-devkit/build-angular v0.1100.x, when you run a build command the process terminates with an unhandled exception “Cannot find module '@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/utils'”.
Workaround
: Use the following commands to install the dependency again with an earlier version that does not have this issue:
$ npm uninstall @angular-devkit/build-angular --save-dev $ npm i @angular-devkit/build-angular@0.1002 --save-dev
When the cordova-plugin-push plug-in is added to the SQLite sample app, database errors will occur. (GD-57845)
Workaround
: remove the
sqlite3
dependency from the xcconfig file.
On
iOS
,  if an app is developed using the cordova-plugin-push plug-in and a notification is received while the app is not running, the notification can be opened, but the notification and payload will not be received by the app after launch. (GD-57797)
Due to the 10.1 update to the
BlackBerry Dynamics SDK
for
iOS
and
Android
, the public Maven server used to automatically download
BlackBerry Dynamics SDK
for
iOS
and
Android
using
CocoaPods
and
Gradle
, now points to SDK version 10.1 instead of 10.0. (GD-57726)
Workaround
: Update the following in the cordova-plugin-bbd-base plug-in before adding it to the project in the unzipped
BlackBerry Dynamics SDK for Cordova
10.0 package:
  • For
    iOS
    , open plugins/cordova-plugin-bbd-base/plugin.xml and update the podspec URL to the following :
    <pod name="BlackBerryDynamics" podspec="https://software.download.blackberry.com/repository/framework/dynamics/ios/10.0.1.86/BlackBerryDynamics-10.0.1.86.podspec" />
  • For
    Android
    , open plugins/cordova-plugin-bbd-base/scripts/gradle/bbd.gradle and update the dependencies to the following:
    dependencies { implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.0+' implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.0+' }
When using BBWebView, users are able to drag and drop text between non-
BlackBerry Dynamics
apps and
BlackBerry Dynamics
apps even if this capability is not allowed in the
BlackBerry Dynamics
profile. (GD-54540)
When using BBWebView, <input type="file" ... /> does not allow you to choose a file when submitting an HTML form. (GD-54523)
Due to an Ionic known issue, when you try to build an app that uses cordova-android platform 9.0.0 or later, the build may fail with a "package android.support.annotation does not exist" error. (GD-53273)
Workaround
: Add the following to the project:
ionic cordova plugin add cordova-plugin-androidx-adapter