Skip to content

Commit 0cf0480

Browse files
[SDK-682] - Typo fix : added missing double quotes of String setUserData. (#74)
* — Typo fix : added missing double quotes of String setUserData. — Updated SDK version to 20.11.14 * Update CHANGELOG.md Co-authored-by: ArtursKadikis <[email protected]>
1 parent 6e08a48 commit 0cf0480

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
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.14
2+
* Fixed a bug that threw an exception when logging a warning for "setUserData".
3+
* Underlying android SDK version is 20.11.12
4+
* Underlying iOS SDK version is 20.11.3
5+
16
## 20.11.13
27
* Updated the Android "compileSdkVersion" and "targetSdkVersion" to "31".
38
* Adding the "exported" tag for the FCM service, required by Android 12.

Countly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ Countly.setUserData = async function(userData){
517517
if (typeof userData[key] != "string" && key.toString() != "byear")
518518
{
519519
message = "skipping value for key '" + key.toString() + "', due to unsupported data type '" + (typeof userData[key]) + "', its data type should be 'string'";
520-
Countly.logWarning(setUserData, message);
520+
Countly.logWarning("setUserData", message);
521521
}
522522

523523
}

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

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.13";
78+
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.14";
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].13
14+
yarn add [email protected].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.13";
24+
NSString* const kCountlyReactNativeSDKVersion = @"20.11.14";
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.13",
3+
"version": "20.11.14",
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)