Skip to content

Commit 6e08a48

Browse files
[SDK-678] - Preparing 20.11.13 release (#72)
* — Preparing 20.11.13 release — Updated SDK version to 20.11.13 — Updated the "compileSdkVersion" and "targetSdkVersion" to "31" — Added missing tag for android 12 — Updated underlying android SDK to 20.11.12 * Update build.gradle * Update CHANGELOG.md Co-authored-by: ArtursKadikis <[email protected]>
1 parent 510fe90 commit 6e08a48

File tree

8 files changed

+20
-11
lines changed

8 files changed

+20
-11
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 20.11.13
2+
* Updated the Android "compileSdkVersion" and "targetSdkVersion" to "31".
3+
* Adding the "exported" tag for the FCM service, required by Android 12.
4+
* Fixed an Android push bug due to "CLOSE_SYSTEM_DIALOGS" permission denial, related to Android 12.
5+
* Updated underlying android SDK to 20.11.12
6+
* Underlying iOS SDK version is 20.11.3
7+
18
## 20.11.12
29
* ! Minor breaking change ! Firebase dependency updated to version '22.0.0', replaced deprecated method to retrieve push token. This change now makes AndroidX mandatory.
310
* Bintray respository inclusion removed.

CountlyReactNative.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'CountlyReactNative'
3-
s.version = '20.11.12'
3+
s.version = '20.11.13'
44
s.license = {
55
:type => 'COMMUNITY',
66
:text => <<-LICENSE

android/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def safeExtGet(prop, fallback) {
1616
}
1717

1818
android {
19-
compileSdkVersion safeExtGet('compileSdkVersion', 29)
19+
compileSdkVersion safeExtGet('compileSdkVersion', 31)
2020

2121
defaultConfig {
2222
minSdkVersion safeExtGet('minSdkVersion', 17)
23-
targetSdkVersion safeExtGet('targetSdkVersion', 29)
23+
targetSdkVersion safeExtGet('targetSdkVersion', 31)
2424

2525
versionCode 2
2626
versionName "1.1"
@@ -41,8 +41,10 @@ repositories {
4141

4242
dependencies {
4343
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
44-
implementation 'ly.count.android:sdk:20.11.11'
44+
implementation 'ly.count.android:sdk:20.11.12'
4545

46-
//if any version higher than 18.0.0 is used then it forces AndroidX
47-
implementation 'com.google.firebase:firebase-messaging:22.0.0'
46+
// Import the BoM for the Firebase platform
47+
// The BoM version of 28.4.2 is the newest release that will target firebase-messaging version 22
48+
implementation platform('com.google.firebase:firebase-bom:28.4.2')
49+
implementation "com.google.firebase:firebase-messaging"
4850
}

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
android:protectionLevel="signature" />
77
<application>
88
<uses-library android:name="android.test.runner"/>
9-
<service android:name="ly.count.android.sdk.react.CountlyMessagingService">
9+
<service android:name="ly.count.android.sdk.react.CountlyMessagingService" android:exported="true">
1010
<intent-filter>
1111
<action android:name="com.google.firebase.MESSAGING_EVENT" />
1212
</intent-filter>

android/src/main/java/ly/count/android/sdk/react/CountlyReactNative.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public String toString(){
7575
public class CountlyReactNative extends ReactContextBaseJavaModule implements LifecycleEventListener {
7676

7777
public static final String TAG = "CountlyRNPlugin";
78-
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.12";
78+
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.13";
7979
private String COUNTLY_RN_SDK_NAME = "js-rnb-android";
8080

8181
private static CountlyConfig config = new CountlyConfig();

example/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rm App.js
1111
curl https://raw.githubusercontent.com/Countly/countly-sdk-react-native-bridge/master/example/App.js --output App.js
1212
curl https://raw.githubusercontent.com/Countly/countly-sdk-react-native-bridge/master/example/Example.js --output Example.js
1313

14-
yarn add [email protected].12
14+
yarn add [email protected].13
1515

1616
cd ./ios
1717
pod install

ios/src/CountlyReactNative.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ @interface CountlyFeedbackWidget ()
2121
+ (CountlyFeedbackWidget *)createWithDictionary:(NSDictionary *)dictionary;
2222
@end
2323

24-
NSString* const kCountlyReactNativeSDKVersion = @"20.11.12";
24+
NSString* const kCountlyReactNativeSDKVersion = @"20.11.13";
2525
NSString* const kCountlyReactNativeSDKName = @"js-rnb-ios";
2626

2727
CountlyConfig* config = nil;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "countly-sdk-react-native-bridge",
3-
"version": "20.11.12",
3+
"version": "20.11.13",
44
"author": "Countly <[email protected]> (https://count.ly/)",
55
"bugs": {
66
"url": "https://github.com/Countly/countly-sdk-react-native-bridge/issues"

0 commit comments

Comments
 (0)