Skip to content

Commit babb44c

Browse files
Fixed _isInitialized variable reset on hot reload. (#90)
* Fixed _isInitialized variable reset on hot reload. * Update CHANGELOG.md Co-authored-by: ArtursKadikis <kadikis.arturs@gmail.com>
1 parent d3619a1 commit babb44c

29 files changed

+432
-206
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
## 22.09.0
2+
* Fixed "isInitialized" variable reset on hot reload.
3+
* Underlying android SDK version is 22.06.2
4+
* Underlying iOS SDK version is 22.09.0
5+
16
## 22.02.1
27
* SDK has been internally slightly reworked to support a "no push notification" variant.
38
* Fixed incorrect iOS push token type when passing "Countly.messagingMode.PRODUCTION" as token type.
4-
59
* Underlying android SDK version is 22.02.1
610
* Underlying iOS SDK version is 22.06.0
711

812
## 22.02.1-np
913
* This flavor is a "no push notification" variant of the Countly SDK.
10-
1114
* Underlying android SDK version is 22.02.1
1215
* Underlying iOS SDK version is 22.06.0
1316

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ android {
3434
}
3535

3636
dependencies {
37-
implementation 'ly.count.android:sdk:22.02.1'
37+
implementation 'ly.count.android:sdk:22.06.2'
3838
implementation 'com.google.firebase:firebase-messaging:20.2.1'
3939
}

android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
*/
5959
public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver {
6060
private static final String TAG = "CountlyFlutterPlugin";
61-
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "22.02.1";
61+
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "22.09.0";
6262
private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android";
6363
private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android";
6464

example-no-push/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ dependencies {
5959
testImplementation 'junit:junit:4.12'
6060
androidTestImplementation 'com.android.support.test:runner:1.0.2'
6161
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
62-
implementation 'ly.count.android:sdk:22.02.1'
62+
implementation 'ly.count.android:sdk:22.06.2'
6363
}
6464

example-no-push/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- countly_flutter (22.02.1):
2+
- countly_flutter (22.09.0):
33
- Flutter
44
- Flutter (1.0.0)
55

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
testImplementation 'junit:junit:4.12'
6060
androidTestImplementation 'com.android.support.test:runner:1.0.2'
6161
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
62-
implementation 'ly.count.android:sdk:22.02.1'
62+
implementation 'ly.count.android:sdk:22.06.2'
6363
implementation 'com.google.firebase:firebase-messaging:20.2.1'
6464
}
6565
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- countly_flutter (22.02.1):
2+
- countly_flutter (22.09.0):
33
- Flutter
44
- Flutter (1.0.0)
55

ios/Classes/CountlyFlutterPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ + (CountlyFeedbackWidget *)createWithDictionary:(NSDictionary *)dictionary;
2020

2121
CLYPushTestMode const CLYPushTestModeProduction = @"CLYPushTestModeProduction";
2222

23-
NSString* const kCountlyFlutterSDKVersion = @"22.02.1";
23+
NSString* const kCountlyFlutterSDKVersion = @"22.09.0";
2424
NSString* const kCountlyFlutterSDKName = @"dart-flutterb-ios";
2525
NSString* const kCountlyFlutterSDKNameNoPush = @"dart-flutterbnp-ios";
2626

ios/Classes/CountlyiOS/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## 22.09.0
2+
- Deleted previously deprecated `userLoggedIn:` and `userLoggedOut` methods
3+
- Added new exception recording methods: `recordException:`, `recordException:isFatal:`, `recordException:isFatal:stackTrace:segmentation:`
4+
- Deprecated existing exception recording methods: `recordHandledException:`, `recordHandledException:withStackTrace:`, `recordUnhandledException:withStackTrace:`
5+
- Added `recordError:stackTrace:`, `recordError:isFatal:stackTrace:segmentation:` methods for Swift errors
6+
7+
- Other various improvements
8+
- Added device info to SDK initialization logs
9+
10+
## 22.06.2
11+
- Added direct requests support
12+
- Fixed missing remote config consent in consents request
13+
14+
- Other various improvements
15+
- Updated some pragma marks
16+
17+
## 22.06.1
18+
- Fixed user details consent issue on SDK start
19+
- Updated feedback widget internal webview design and layout
20+
21+
- Other various improvements
22+
- Updated HeaderDocs, internal logs, inline notes and pragma marks
23+
124
## 22.06.0
225
- Added `CountlyAutoViewTrackingName` protocol for supporting custom view titles with AutoViewTracking
326
- Added `setNewURLSessionConfiguration:` method to be able change URL session configuraion on the go (thanks @angelix)

ios/Classes/CountlyiOS/Countly-PL.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 = 'Countly-PL'
3-
s.version = '22.06.0'
3+
s.version = '22.09.0'
44
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
55
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
66
s.homepage = 'https://github.com/Countly/countly-sdk-ios'

0 commit comments

Comments
 (0)