Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Updated SDK version and Underlying SDK's (#104)
Browse files Browse the repository at this point in the history
* Updated SDK version and Underlying  SDK's

* Updated SDK version to 22.09.0
* Updated underlying android SDK to 22.06.2
* Updated underlying iOS SDK version to 22.09.0

* Updated changelog file

* Update CHANGELOG.md

---------

Co-authored-by: ArtursKadikis <kadikis.arturs@gmail.com>
  • Loading branch information
ijunaid and ArtursKadikis committed Feb 17, 2023
1 parent 30614e7 commit 24e8cea
Show file tree
Hide file tree
Showing 29 changed files with 643 additions and 407 deletions.
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
countly:countly-sdk-js@21.11.0
countly:countly-sdk-js@22.09.0
meteor@1.9.2
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 22.09.0
* Fixed notification trampoline restrictions in Android 12 using reverse activity trampolining implementation.
* Fixed a bug in Android SDK that would throw a null pointer exception when calling "CountlyPush.onTokenRefresh" and CountlyPush was not initialized
* Fixed a bug in Android SDK that would throw a null pointer exception when calling "CountlyPush.displayNotification " and CountlyPush was not initialized
* Updated underlying android SDK to 22.06.2
* Updated underlying iOS SDK version to 22.09.0

## 21.11.0
* !! Major breaking change !! Deprecating "ADVERTISING_ID" as device ID generation strategy. SDK will fall back to 'OPEN_UDID'. All "ADVERTISING_ID" device ID's will have their type changed to "OPEN_UDID". If the device will have a "null" device ID, a random one will be generated.
* !! Major breaking change !! Changing device ID without merging will now clear all consent. It has to be given again after this operation.
Expand Down
2 changes: 1 addition & 1 deletion Countly.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Countly = {};
Countly.serverUrl = "";
Countly.appKey = "";
Countly.ready = false;
Countly.version = "21.11.0";
Countly.version = "22.09.0";
Countly.isDebug = false;
_isInitialized = false;
if (window.cordova.platformId == "android") {
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-js",
"version": "21.11.0",
"version": "22.09.0",
"description": "Countly is an innovative, real-time, open source mobile analytics and push notifications platform. It collects data from mobile devices, and visualizes this information to analyze mobile application usage and end-user behavior. There are two parts of Countly: the server that collects and analyzes data, and mobile SDK that sends this data. Both parts are open source with different licensing terms.",
"cordova": {
"id": "countly-sdk-js",
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="countly-sdk-cordova" version="21.11.0">
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="countly-sdk-cordova" version="22.09.0">

<name>Countly Cordova SDK</name>

Expand Down Expand Up @@ -141,7 +141,7 @@

<source-file src="src/android/CountlyCordova.java" target-dir="src/ly/count/android/sdk"/>
<source-file src="src/android/CountlyNative.java" target-dir="src/ly/count/android/sdk"/>
<framework src="ly.count.android:sdk:21.11.2" />
<framework src="ly.count.android:sdk:22.06.2" />

<!-- Push notification -->
<config-file target="AndroidManifest.xml" parent="/manifest/application">
Expand Down
2 changes: 1 addition & 1 deletion src/android/CountlyNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public class CountlyNative {

public static final String TAG = "CountlyCordovaPlugin";
private final String COUNTLY_CORDOVA_SDK_VERSION_STRING = "21.11.0";
private final String COUNTLY_CORDOVA_SDK_VERSION_STRING = "22.09.0";
private final String COUNTLY_CORDOVA_SDK_NAME = "js-cordovab-android";

private Countly.CountlyMessagingMode pushTokenTypeVariable = Countly.CountlyMessagingMode.PRODUCTION;
Expand Down
5 changes: 3 additions & 2 deletions src/ios/CountlyNative.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Boolean isInitialized = false;
NSString *const pushPluginApplicationDidBecomeActiveNotification = @"pushPluginApplicationDidBecomeActiveNotification";

NSString *const kCountlyCordovaSDKVersion = @"21.11.0";
NSString *const kCountlyCordovaSDKVersion = @"22.09.0";
NSString *const kCountlyCordovaSDKName = @"js-cordovab-ios";

@interface CountlyFeedbackWidget ()
Expand Down Expand Up @@ -580,7 +580,8 @@ - (void)onCall:(NSString *)method commandString:(NSArray *)command callback:(Res

NSException *myException = [NSException exceptionWithName:@"Exception" reason:execption userInfo:dict];

[Countly.sharedInstance recordHandledException:myException withStackTrace:nsException];
[Countly.sharedInstance recordException:myException isFatal:NO stackTrace:nsException segmentation:nil];

result(@"logException!");
});

Expand Down

0 comments on commit 24e8cea

Please sign in to comment.