Skip to content

Commit fdff8a5

Browse files
authored
Additional checks added in android for Google vulnerability issue. (20.11.4-RC2) (#48)
1 parent fdad664 commit fdff8a5

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 20.11.4-RC2
2+
* Additional checks added in android for Google vulnerability issue.
3+
* INSTALL_REFERRER intent removed from SDK manifest file, for attribution analytics and install campaigns we recommend adding INSTALL_REFERRER intent in your application manifest file. Check documentation for more information.
4+
* Updated underlying android SDK to 20.11.5-RC
5+
16
## 20.11.3
27
* Added "disablePushNotifications" method to disable push notifications for iOS.
38
* Updated underlying android SDK to 20.11.3

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.3'
3+
s.version = '20.11.4-RC2'
44
s.license = {
55
:type => 'COMMUNITY',
66
:text => <<-LICENSE

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repositories {
4444

4545
dependencies {
4646
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
47-
implementation 'ly.count.android:sdk:20.11.3'
47+
implementation 'ly.count.android:sdk:20.11.5-RC'
4848

4949
//if any version higher than 18.0.0 is used then it forces AndroidX
5050
implementation 'com.google.firebase:firebase-messaging:18.0.0'

android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
<action android:name="com.google.firebase.MESSAGING_EVENT" />
1212
</intent-filter>
1313
</service>
14-
<receiver android:name="ly.count.android.sdk.ReferrerReceiver" android:exported="true">
15-
<intent-filter>
16-
<action android:name="com.android.vending.INSTALL_REFERRER" />
17-
</intent-filter>
18-
</receiver>
1914
</application>
2015

2116
</manifest>

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

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

7676
public static final String TAG = "CountlyRNPlugin";
77-
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.3";
77+
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.4-RC2";
7878
private String COUNTLY_RN_SDK_NAME = "js-rnb-android";
7979

8080
private static CountlyConfig config = new CountlyConfig();
@@ -543,6 +543,7 @@ public void askForNotificationPermission(ReadableArray args){
543543
notificationManager.createNotificationChannel(channel);
544544
}
545545
}
546+
CountlyPush.useAdditionalIntentRedirectionChecks = true;
546547
CountlyPush.init(activity.getApplication(), messagingMode);
547548
FirebaseApp.initializeApp(context);
548549
FirebaseInstanceId.getInstance().getInstanceId()

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-
14+
yarn add [email protected].4-RC2
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.3";
24+
NSString* const kCountlyReactNativeSDKVersion = @"20.11.4-RC2";
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.3",
3+
"version": "20.11.4-RC2",
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)