BlackBerry Dynamics SDK for React Native version 13.0
BlackBerry Dynamics SDK for React Native
version 13.0The
BlackBerry Dynamics SDK for React Native
can be downloaded from BlackBerry Developer Downloads. Development guidance is contained in the README file of the download package.New in this release
Feature | Description |
---|---|
Changes to supported React Native versions | This release adds support for React Native 0.75.x.The following React Native versions are deprecated and will be removed in an upcoming release:
This release removes support for React Native 0.70.x. |
Integration of the BlackBerry Dynamics Launcher | The BlackBerry Dynamics Launcher is now integrated with the BlackBerry Dynamics SDK for React Native and does not need to be integrated separately. When you add the BlackBerry-Dynamics-for-React-Native-Base module, the BlackBerry Dynamics Launcher is integrated automatically and shown in apps by default.Previously, the BlackBerry-Dynamics-for-React-Native-Launcher module was used to integrate the BlackBerry Dynamics Launcher . It is now used to programmatically hide or show the BlackBerry Dynamics Launcher . See the Features section below for instructions on how to hide or show the BlackBerry Dynamics Launcher . As of this release, the BlackBerry-Dynamics-for-React-Native-Launcher module should be used only with BlackBerry Dynamics SDK for Android 13.0 or later and the BlackBerry Dynamics SDK for iOS 13.0 or later. |
Support
Feature | Description |
---|---|
Development requirements |
|
React Native supported versions |
The following React Native versions are deprecated and support will be removed in an upcoming release:
React Native version 0.73.x and later requires Java 17. |
BlackBerry Dynamics SDK supported versions |
|
Features
Feature | Description |
---|---|
Integration with BlackBerry
Dynamics | Integration of the BlackBerry Dynamics SDK for iOS and Android into the React Native application is supported by the addition of the BlackBerry-Dynamics-for-React-Native-Base module. You can also integrate a locally downloaded version of BlackBerry Dynamics SDK for iOS into your BlackBerry
Dynamics React Native app. |
Secure connectivity |
|
Secure storage |
|
Data leakage prevention (DLP) | No code work is required to support DLP for iOS and Android . Note the following:
|
Inter-Container Communication (ICC) | ICC (also known as AppKinetics) provides service discovery, service consumption, and service providing capabilities for BlackBerry
Dynamics React Native apps and allows secure communication with other BlackBerry
Dynamics apps. To implement some ICC capabilities in BlackBerry
Dynamics React Native apps, use the BlackBerry-Dynamics-for-React-Native-AppKinetics module. |
Support for Yarn package manager |
For more information, see the readme file for each module. |
Importing a prepopulated SQLite database | You can use any of the methods detailed here to import a prepopulated SQLite database: Importing a prepopulated database. The third method is supported for Android only. |
Integration of the BlackBerry Dynamics Launcher | As of SDK version 13.0, the BlackBerry Dynamics Launcher is integrated automatically with the BlackBerry Dynamics SDK for React Native and does not need to be integrated separately. When you add the BlackBerry-Dynamics-for-React-Native-Base module, the BlackBerry Dynamics Launcher is integrated automatically and shown in apps by default.You can use the BlackBerry-Dynamics-for-React-Native-Launcher module to hide or show the BlackBerry Dynamics Launcher :
As of the BlackBerry Dynamics SDK for React Native 13.0, the BlackBerry-Dynamics-for-React-Native-Launcher module should be used only with BlackBerry Dynamics SDK for Android 13.0 or later and the BlackBerry Dynamics SDK for iOS 13.0 or later. |
Package contents
Feature | Description |
---|---|
Modules |
|
UI components |
|
Sample apps |
|
Fixed issues
If you tried to build an application using the BlackBerry-Dynamics-for-React-Native-Networking module, the application might not have been built successfully due to the following error: “Failed to fetch podspec for ‘BbdJetfire’”. (GD-67576) |
If you built an application on React Native 71.x, then you removed the base module (BlackBerry-Dynamics-for-React-Native-Base module), you could not rebuild the application. (GD-67347) |
If you built an application using the BlackBerry-Dynamics-for-React-Native-Launcher module, then added another module and tried to build again, the app did not build successfully. (GD-66173) |
In the WebViewBrowser sample app, images that you tried to upload from Google Drive did not upload successfully. (GD-55256) |
Known issues
Image content may not be visible on the iOS clipboard sample app. (GD-63121) |
Flipper cannot be used with the BlackBerry Dynamics SDK for React Native in the debug configuration because it disables some BlackBerry
Dynamics secure networking functionality. Flipper is disabled by default on iOS and Android . If your BlackBerry Dynamics SDK for React Native app does not use the secure connectivity feature (BlackBerry-Dynamics-for-React-Native-Networking module), you can enable Flipper by uncommenting the following:
|
When both default and secure SQLite libraries are linked to an iOS project, it can cause conflicts and unpredictable behavior.Workaround: Remove the sqlite3 dependency in */node_modules/reactnative- webrtc/react-native-webrtc.podspec, and then run pod install again. |
Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. More details can be found here. React Native 0.68 and higher supports Android 12 and later by default by setting the appropriate configuration in AndroidManifest.xml. |
React Native for iOS projects using Xcode 14.3 (14E222b) fail to build properly. This is a known issue with the React Native platform. Additional details can be found here. |
When loading the Metro server on React Native versions 0.72.0 or 0.72.1, a "Cannot read properties of undefined (reading 'addHelper')" error occurs.Workaround: Add the following devDependency to the project:
|
When creating a new React Native project on versions 0.72.5 or earlier, an error may occur when installing activesupport CocoaPods dependencies.Workaround: Create or update the gemfile in the root of your project with this dependency: gem 'activesupport', '~> 7.0.8' . Then run the following commands:
The same issue can occur when running BlackBerry
Dynamics React Native sample apps. Verify that version 7.0.8 of activesupport Ruby gem is installed locally:
|