This page provides an overview on how to use the BlackBerry Dynamics SDK for React Native. For details on BlackBerry Dynamics please see https://www.blackberry.com/dynamics
- Mac OS X
- Windows 10 (Android only)
- 0.60.x
- 0.61.x
- BlackBerry Dynamics SDK for iOS v7.1, check environment requirements here. Version 6.2 is also supported.
- BlackBerry Dynamics SDK for Android v7.1, check environment requirements here. Version 6.1 is also supported.
Integration of BlackBerry Dynamics SDK for iOS and Android into React Native application is supported by addition of the BlackBerry-Dynamics-for-React-Native-Base
module.
Both XMLHttpRequest
and fetch
are secured in scope of BlackBerry-Dynamics-for-React-Native-Networking
module.
- On iOS secure communication within
<WebView />
component is supported usingXMLHttpRequest
andfetch
. You may use eitherUIWebView
(DEPRECATED) andWKWebView
. - On Android secure communication within
<WebView />
component is not supported.
NOTE: secure communication via WebSockets is not supported.
AsyncStorage
is secured in scope ofBlackBerry-Dynamics-for-React-Native-Async-Storage
moduleSQLite
is secured in scope ofBlackBerry-Dynamics-for-React-Native-SQLite-Storage
module
On iOS <Text />
component, <TextInput />
component and Clipboard
API are secured simply by integrating BlackBerry Dynamics.
On Android the following items are required:
<Text />
component is secured in scope ofBlackBerry-Dynamics-for-React-Native-Text
UI component<TextInput />
component is secured in scope ofBlackBerry-Dynamics-for-React-Native-TextInput
UI componentBlackBerry-Dynamics-for-React-Native-Clipboard
module secures Clipboard API on Android.
BlackBerry-Dynamics-for-React-Native-Base
- automatically integrates BlackBerry Dynamics SDK for iOS and Android into React Native applicationBlackBerry-Dynamics-for-React-Native-Networking
- securesXMLHttpRequest
andfetch
APIs on Android. For more details please refer to networking topic in React Native.BlackBerry-Dynamics-for-React-Native-SQLite-Storage
- secures SQLite DB usage. It is based on react-native-sqlite-storage 3rd party module.BlackBerry-Dynamics-for-React-Native-Async-Storage
- secures built-in AsyncStorage.BlackBerry-Dynamics-for-React-Native-Clipboard
- secures built-in Clipboard API.
BlackBerry-Dynamics-for-React-Native-Text
- enables DLP within UI component on AndroidBlackBerry-Dynamics-for-React-Native-TextInput
- enables DLP within UI component on Android
BasicNetworking
- shows example of usingfetch
andXMLHttpRequest
in different ways, covers different HTTP request types (GET, POST, PUT, DELETE etc.), some authentication types (basic auth, Digest, NTLM), has a possibility to send data to the server of different types (text, JSON, FormData etc.) and receive response of different types if server supports it (ArrayBuffer, text, JSON, Blob, etc.).ClipboardTestApp
- demonstrates usage of Clipboard API in terms of Data Leakage Prevention. It is possible to change DLP policy on UEM and see how it affects the clipboard within the application. If DLP is on, it will not be possible to copy clipboard data from "Dynamics" application to "non-Dynamics" application and vice-versa.DLP
- demonstrates usage of<Text />
and<TextInput />
UI components together with DLP policy option on UEM. If DLP is on, it will not be possible to do cut-copy-paste operations over data from "Dynamics" to "non-Dynamics" application and vice-versa.SQLite
- shows example of using secure SQLite DB instance in React Native application.UnitTest
- runs Jasmine unit tests forfetch
,XMLHttpRequest
,Clipboard
,AsyncStorage
andSQLite
in React Native application.WKWebViewBrowser
- demonstrates usage of<WebView />
component in React Native application for iOS.