Skip to content

Commit 5d1967b

Browse files
authored
Android session start issue fixed and version updated. (#49)
* Start session with null activity * Version updated * Text changes
1 parent fdff8a5 commit 5d1967b

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 20.11.4
2+
* Android session start issue fixed.
3+
* Updated underlying android SDK to 20.11.5
4+
15
## 20.11.4-RC2
26
* Additional checks added in android for Google vulnerability issue.
37
* 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.

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.4-RC2'
3+
s.version = '20.11.4'
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.5-RC'
47+
implementation 'ly.count.android:sdk:20.11.5'
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/java/ly/count/android/sdk/react/CountlyReactNative.java

Lines changed: 2 additions & 3 deletions
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.4-RC2";
77+
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.4";
7878
private String COUNTLY_RN_SDK_NAME = "js-rnb-android";
7979

8080
private static CountlyConfig config = new CountlyConfig();
@@ -564,8 +564,7 @@ public void onComplete(Task<InstanceIdResult> task) {
564564
public void start(){
565565
Activity activity = this.getActivity();
566566
if (activity == null) {
567-
log("start failed, Activity is null", LogLevel.ERROR);
568-
return;
567+
log("While calling 'start', Activity is null", LogLevel.WARNING);
569568
}
570569
Countly.sharedInstance().onStart(activity);
571570
}

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