Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 76ed234

Browse files
authored
Merge pull request #25 from taras-omelchuk/master
Dynamics SDK for React Native v11.0
2 parents 6cdd087 + 12dff50 commit 76ed234

File tree

19 files changed

+55
-45
lines changed

19 files changed

+55
-45
lines changed

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ This page provides an overview on how to use the BlackBerry Dynamics SDK for Rea
1717
- 0.67.x
1818
- 0.68.x (0.68.2 is latest supported)
1919
#### iOS
20-
- Xcode 12, 13
21-
- iOS 13, 14, 15
20+
- Xcode 12+
21+
- iOS 14+
2222
- cocoapods 1.10.2+
2323
#### Android
2424
- Java 8 (for React Native version < 0.68.0)
@@ -27,11 +27,11 @@ This page provides an overview on how to use the BlackBerry Dynamics SDK for Rea
2727
- NDK 20.1.5948944 (for React Native version < 0.66.0)
2828
- NDK 21.4.7075529 (for React Native version >= 0.66.0)
2929
#### BlackBerry Dynamics
30-
- BlackBerry Dynamics SDK for iOS v10.2, check environment requirements [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-sdk-ios/).
31-
- BlackBerry Dynamics SDK for Android v10.2, check environment requirements [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-sdk-android/).
30+
- BlackBerry Dynamics SDK for iOS v11.0, check environment requirements [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-sdk-ios/).
31+
- BlackBerry Dynamics SDK for Android v11.0, check environment requirements [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-sdk-android/).
3232
#### BlackBerry Dynamics Launcher
33-
- BlackBerry Dynamics Launcher library for iOS v3.4, check details [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-launcher-framework-for-ios).
34-
- BlackBerry Dynamics Launcher library for Android v3.4, check details [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-launcher-framework-for-android).
33+
- BlackBerry Dynamics Launcher library for iOS v3.5, check details [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-launcher-framework-for-ios).
34+
- BlackBerry Dynamics Launcher library for Android v3.5, check details [here](https://docs.blackberry.com/en/development-tools/blackberry-dynamics-launcher-framework-for-android).
3535

3636
# Features
3737
#### Integration with BlackBerry Dynamics
@@ -188,3 +188,8 @@ When the project is compiled and run DB functionality works incorrectly.
188188
189189
##### Workaround
190190
To resolve the conflict **`sqlite3`** dependency should be removed in *<app>/node_modules/react-native-webrtc/react-native-webrtc.podspec*. Then, do **"pod install"** again. This should not break anything as secured **`sqlite3`** dependency will remain linked to the project.
191+
192+
### Android 12+ support for React Native version less than `0.68`
193+
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](https://developer.android.com/guide/topics/manifest/activity-element#exported).
194+
React Native `0.68` and higher supports Android 12+ by default by setting appropriate setting in AndroidManifest.xml.
195+
For React Native versions `<= 0.67` setting `android:exported` should be set manually.

modules/BlackBerry-Dynamics-for-React-Native-AppKinetics/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ android {
2828
dependencies {
2929
implementation 'com.facebook.react:react-native:+'
3030
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
31-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
32-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
31+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
32+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3333
}

modules/BlackBerry-Dynamics-for-React-Native-Application/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ android {
2828
dependencies {
2929
implementation 'com.facebook.react:react-native:+'
3030
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
31-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
32-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
33-
}
31+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
32+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
33+
}

modules/BlackBerry-Dynamics-for-React-Native-Async-Storage/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535
}
3636

3737
dependencies {
38-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
39-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
38+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
39+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
4040
implementation "com.facebook.react:react-native:+"
41-
}
41+
}

modules/BlackBerry-Dynamics-for-React-Native-Base/README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Dynamics SDK for iOS and Android are now installed as part of the Base module us
2828

2929
##### BlackBerry Dynamics SDK for iOS integration
3030
###### Using latest released version - default
31-
By default, `BlackBerry-Dynamics-for-React-Native-Base` module will integrate **latest** available BlackBerry Dynamics SDK for iOS using following podspec: `https://software.download.blackberry.com/repository/framework/dynamics/ios/10.2.0.83/BlackBerryDynamics-10.2.0.83.podspec`.
31+
By default, `BlackBerry-Dynamics-for-React-Native-Base` module will integrate **latest** available BlackBerry Dynamics SDK for iOS using following podspec: `https://software.download.blackberry.com/repository/framework/dynamics/ios/11.0.1.137/BlackBerryDynamics-11.0.1.137.podspec`.
3232
> NOTE: If one of the below integration methods was used there is an option to reset **default** configuration by running following command:
3333
`$ yarn set-dynamics-podspec --default`
3434
`$ cd ios && pod install && cd ..`
@@ -37,7 +37,7 @@ By default, `BlackBerry-Dynamics-for-React-Native-Base` module will integrate **
3737
There is possibility to integrate other released build of BlackBerry Dynamics SDK for iOS.
3838
Following command should be run:
3939
```
40-
$ yarn set-dynamics-podspec --url "https://software.download.blackberry.com/repository/framework/dynamics/ios/10.1.0.36/BlackBerryDynamics-10.1.0.36.podspec"
40+
$ yarn set-dynamics-podspec --url "https://software.download.blackberry.com/repository/framework/dynamics/ios/10.2.0.83/BlackBerryDynamics-10.2.0.83.podspec"
4141
$ cd ios && pod install && cd ..
4242
```
4343
###### Using locally downloaded version
@@ -92,3 +92,8 @@ To activate your new BlackBerry Dynamics application with the BlackBerry UEM man
9292
### Flipper is disabled on iOS
9393
Flipper cannot be used together with BlackBerry Dynamics SDK for React Native on iOS in debug configuration as it disables some BlackBerry Dynamics functionality related to secure networking.
9494
Flipper is disabled on iOS by default. If your Dynamics React Native application on iOS does not use Secure Connectivity feature (`BlackBerry-Dynamics-for-React-Native-Networking` module) you can enable Flipper by uncommenting `use_flipper!()` line in `Podfile` of your application.
95+
96+
### Android 12+ support for React Native version less than `0.68`
97+
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](https://developer.android.com/guide/topics/manifest/activity-element#exported).
98+
React Native `0.68` and higher supports Android 12+ by default by setting appropriate setting in AndroidManifest.xml.
99+
For React Native versions `<= 0.67` setting `android:exported` should be set manually.

modules/BlackBerry-Dynamics-for-React-Native-Base/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ android {
5454
}
5555

5656
dependencies {
57-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
58-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
57+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
58+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
5959
implementation "com.facebook.react:react-native:+"
6060
}

modules/BlackBerry-Dynamics-for-React-Native-Base/android/gd.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ android {
2222
}
2323

2424
dependencies {
25-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
26-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
27-
}
25+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
26+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
27+
}

modules/BlackBerry-Dynamics-for-React-Native-Base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "BlackBerry-Dynamics-for-React-Native-Base",
33
"version": "1.0.0",
4-
"dynamicsPodSpec":"https://software.download.blackberry.com/repository/framework/dynamics/ios/BlackBerryDynamics.podspec",
4+
"dynamicsPodSpec":"https://software.download.blackberry.com/repository/framework/dynamics/ios/11.0.1.137/BlackBerryDynamics-11.0.1.137.podspec",
55
"description": "This is a BlackBerry Dynamics Base module for React Native that automatically integrates the BlackBerry Dynamics SDK for iOS and Android into a React Native application",
66
"main": "index.js",
77
"bin": {

modules/BlackBerry-Dynamics-for-React-Native-Base/scripts/constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const podPlatformPatternVersion = /platform :ios, '([0-9\.]+)'/;
2121
const podPlatformVersion = 'platform :ios, \'14.0\'';
2222

2323
const bbdPodCommand = 'pod \'BlackBerryDynamics\', ' +
24-
':podspec => \'https://software.download.blackberry.com/repository/framework/dynamics/ios/10.2.0.83/BlackBerryDynamics-10.2.0.83.podspec\'\n';
24+
':podspec => \'https://software.download.blackberry.com/repository/framework/dynamics/ios/11.0.1.137/BlackBerryDynamics-11.0.1.137.podspec\'\n';
2525

2626
const bbdPodTemplate = /pod 'BlackBerryDynamics', (:podspec|:path) => '(.+)'/;
2727

modules/BlackBerry-Dynamics-for-React-Native-Base/scripts/react_native_info/development-tools-info.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"framework": {
33
"name": "ReactNative",
4-
"bbdSdkForReactNativeVersion": "10.1.0.9",
4+
"bbdSdkForReactNativeVersion": "11.0.0.6",
55
"react-native": "",
66
"react": "",
77
"system": {

modules/BlackBerry-Dynamics-for-React-Native-Clipboard/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
30-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
29+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
30+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3131
implementation "com.facebook.react:react-native:+"
32-
}
32+
}

modules/BlackBerry-Dynamics-for-React-Native-FileSystem/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
30-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
29+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
30+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3131
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
3232
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Networking')
3333
implementation "com.facebook.react:react-native:+"

modules/BlackBerry-Dynamics-for-React-Native-Launcher/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ android {
4747
}
4848

4949
dependencies {
50-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
51-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
50+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
51+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
5252
implementation "com.facebook.react:react-native:+"
5353
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
5454

modules/BlackBerry-Dynamics-for-React-Native-Networking/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ android {
3333
}
3434

3535
dependencies {
36-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
37-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
36+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
37+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3838
implementation "com.facebook.react:react-native:+"
3939
implementation "com.squareup.okhttp3:okhttp:+"
4040
implementation "com.squareup.okio:okio:+"

modules/BlackBerry-Dynamics-for-React-Native-SQLite-Storage/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
30-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
29+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
30+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3131
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
3232
implementation "com.facebook.react:react-native:+"
33-
}
33+
}

ui-components/BlackBerry-Dynamics-for-React-Native-Text/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
30-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
29+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
30+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3131
implementation "com.facebook.react:react-native:+"
32-
}
32+
}

ui-components/BlackBerry-Dynamics-for-React-Native-TextInput/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
30-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
29+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
30+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
3131
implementation "com.facebook.react:react-native:+"
3232
}

ui-components/BlackBerry-Dynamics-for-React-Native-WebView/android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ android {
6262
def kotlin_version = getExtOrDefault('kotlinVersion')
6363

6464
dependencies {
65-
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.2.0.79'
66-
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.2.0.79'
67-
implementation 'com.blackberry.blackberrydynamics:android_webview:10.2.0.79'
65+
implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:11.0.1.140'
66+
implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:11.0.1.140'
67+
implementation 'com.blackberry.blackberrydynamics:android_webview:11.0.1.140'
6868
implementation project(path: ':BlackBerry-Dynamics-for-React-Native-Base')
6969
implementation "com.facebook.react:react-native:+"
7070
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ReactNativeWebView_kotlinVersion=1.5.10
22
ReactNativeWebView_compileSdkVersion=30
33
ReactNativeWebView_buildToolsVersion=30.0.0
4-
ReactNativeWebView_targetSdkVersion=30
4+
ReactNativeWebView_targetSdkVersion=30

0 commit comments

Comments
 (0)