Skip to content

Commit

Permalink
[SDK-682] - Typo fix : added missing double quotes of String setUserD…
Browse files Browse the repository at this point in the history
…ata. (#74)

* — Typo fix : added missing double quotes of String setUserData.
— Updated SDK version to 20.11.14

* Update CHANGELOG.md

Co-authored-by: ArtursKadikis <kadikis.arturs@gmail.com>
  • Loading branch information
ijunaid and ArtursKadikis committed Feb 21, 2022
1 parent 6e08a48 commit 0cf0480
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 20.11.14
* Fixed a bug that threw an exception when logging a warning for "setUserData".
* Underlying android SDK version is 20.11.12
* Underlying iOS SDK version is 20.11.3

## 20.11.13
* Updated the Android "compileSdkVersion" and "targetSdkVersion" to "31".
* Adding the "exported" tag for the FCM service, required by Android 12.
Expand Down
2 changes: 1 addition & 1 deletion Countly.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ Countly.setUserData = async function(userData){
if (typeof userData[key] != "string" && key.toString() != "byear")
{
message = "skipping value for key '" + key.toString() + "', due to unsupported data type '" + (typeof userData[key]) + "', its data type should be 'string'";
Countly.logWarning(setUserData, message);
Countly.logWarning("setUserData", message);
}

}
Expand Down
2 changes: 1 addition & 1 deletion CountlyReactNative.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'CountlyReactNative'
s.version = '20.11.13'
s.version = '20.11.14'
s.license = {
:type => 'COMMUNITY',
:text => <<-LICENSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public String toString(){
public class CountlyReactNative extends ReactContextBaseJavaModule implements LifecycleEventListener {

public static final String TAG = "CountlyRNPlugin";
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.13";
private String COUNTLY_RN_SDK_VERSION_STRING = "20.11.14";
private String COUNTLY_RN_SDK_NAME = "js-rnb-android";

private static CountlyConfig config = new CountlyConfig();
Expand Down
2 changes: 1 addition & 1 deletion example/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rm App.js
curl https://raw.githubusercontent.com/Countly/countly-sdk-react-native-bridge/master/example/App.js --output App.js
curl https://raw.githubusercontent.com/Countly/countly-sdk-react-native-bridge/master/example/Example.js --output Example.js

yarn add countly-sdk-react-native-bridge@20.11.13
yarn add countly-sdk-react-native-bridge@20.11.14

cd ./ios
pod install
Expand Down
2 changes: 1 addition & 1 deletion ios/src/CountlyReactNative.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ @interface CountlyFeedbackWidget ()
+ (CountlyFeedbackWidget *)createWithDictionary:(NSDictionary *)dictionary;
@end

NSString* const kCountlyReactNativeSDKVersion = @"20.11.13";
NSString* const kCountlyReactNativeSDKVersion = @"20.11.14";
NSString* const kCountlyReactNativeSDKName = @"js-rnb-ios";

CountlyConfig* config = nil;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "countly-sdk-react-native-bridge",
"version": "20.11.13",
"version": "20.11.14",
"author": "Countly <hello@count.ly> (https://count.ly/)",
"bugs": {
"url": "https://github.com/Countly/countly-sdk-react-native-bridge/issues"
Expand Down

0 comments on commit 0cf0480

Please sign in to comment.