Skip to content

Commit f04358d

Browse files
committed
Merge branch 'staging' of https://github.com/Countly/countly-sdk-flutter-bridge into staging-np
2 parents f4855e0 + 49d3b60 commit f04358d

29 files changed

+1179
-1030
lines changed

.clang-format

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: LLVM
4+
5+
ColumnLimit: 300
6+
IndentWidth: 4
7+
---
8+
Language: ObjC
9+
BasedOnStyle: LLVM
10+
11+
ColumnLimit: 300
12+
IndentWidth: 4
13+
...

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pubspec.lock
2121
.idea/
2222

2323
# Visual Studio Code related
24-
.vscode/
2524
android/.classpath
2625
android/.project
2726
android/.settings

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"xaver.clang-format"
4+
]
5+
}

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
## 22.09.1
1+
## 23.02.0
22
* !! Major breaking change !! Resolved issue with handling push notification actions on iOS.
33
* To handle push notification actions, add the following call "CountlyFlutterPlugin.startObservingNotifications();" to "AppDelegate.swift"
44
* For further information, refer to the "Handling Push Callbacks" section of the Countly SDK documentation at:
55
https://support.count.ly/hc/en-us/articles/360037944212-Flutter#handling-push-callbacks.
6-
* Underlying android SDK version is 22.06.2
7-
* Underlying iOS SDK version is 22.09.0
6+
* Fixed a race condition bug in Android where a recorded event would have the wrong user properties in the drill database on the server. Now event queue is emptied (formed into a request) before recording any user profile changes.
7+
* Events are now recorded with an internal ID in Android.
8+
* Updated Underlying android SDK version to 22.09.0
9+
* Updated Underlying iOS SDK version to 23.02.0
810
*
9-
## 22.09.1-np
10-
* Underlying android SDK version is 22.06.2
11-
* Underlying iOS SDK version is 22.09.0
11+
## 23.02.0-np
12+
* Updated Underlying android SDK version to 22.09.0
13+
* Updated Underlying iOS SDK version to 23.02.0
1214

1315
## 22.09.0
1416
* Fixed "isInitialized" variable reset on hot reload.

android/build.gradle

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

3636
dependencies {
37-
implementation 'ly.count.android:sdk:22.06.2'
37+
implementation 'ly.count.android:sdk:22.09.0'
3838
}

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

Lines changed: 3 additions & 3 deletions
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.09.1";
61+
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "23.02.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

@@ -373,8 +373,8 @@ public void onMethodCall(MethodCall call, final Result result) {
373373
return;
374374
}
375375
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
376-
String channelName = "Default Name";
377-
String channelDescription = "Default Description";
376+
String channelName = "General Notifications";
377+
String channelDescription = "Receive notifications about important updates and events.";
378378
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
379379
if (notificationManager != null) {
380380
NotificationChannel channel = new NotificationChannel(CountlyPush.CHANNEL_ID, channelName, NotificationManager.IMPORTANCE_DEFAULT);

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.06.2'
62+
implementation 'ly.count.android:sdk:22.09.0'
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_np (22.09.1):
2+
- countly_flutter (23.02.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.06.2'
62+
implementation 'ly.count.android:sdk:22.09.0'
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.09.1):
2+
- countly_flutter (23.02.0):
33
- Flutter
44
- Flutter (1.0.0)
55

0 commit comments

Comments
 (0)