Skip to content

Commit

Permalink
[SDK-876] : iOS adding log level to print request data usage in logs (#…
Browse files Browse the repository at this point in the history
…69)

* iOS adding log level to print request data usage in logs

* Update SDK version to 21.11.2 and changelog

Revert set "setInternalLogLevel" changes and directly set log level to verbose for iOS
  • Loading branch information
ijunaid authored Jul 22, 2022
1 parent 54f38ea commit 3fc7845
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 21.11.2
* Making logs more verbose on iOS by printing network related logs.
* Underlying android SDK is 21.11.2
* Underlying iOS SDK version is 21.11.2

## 21.11.1
* Fixed bug that caused crashes when migrating from older versions on Android devices.
* Updated underlying android SDK to 21.11.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver {

private static final String TAG = "CountlyFlutterPlugin";
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "21.11.1";
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "21.11.2";
private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android";
/**
* Plugin registration.
Expand Down
30 changes: 12 additions & 18 deletions example/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,36 @@
{
"project_info": {
"project_number": "881000050249",
"firebase_url": "https://folkloric-union-86811.firebaseio.com",
"project_id": "folkloric-union-86811",
"storage_bucket": "folkloric-union-86811.appspot.com"
"project_number": "559419143491",
"project_id": "countlydemo-911b8",
"storage_bucket": "countlydemo-911b8.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:881000050249:android:de2270f1d998eee6",
"mobilesdk_app_id": "1:559419143491:android:77d3b622a5c2ba5be72bf6",
"android_client_info": {
"package_name": "com.countly.demo"
}
},
"oauth_client": [
{
"client_id": "881000050249-v7c6s4k5bm9h2d3vkguio0urbegp1hc5.apps.googleusercontent.com",
"client_id": "559419143491-5561f39er20nu3h2ucnrevba70elh0il.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCvznrYsNRZ_Vm28-CZF-XR5c80W7uxdwc"
},
{
"current_key": "AIzaSyAC4V9pgJBio5omzRWFavmRTlAbloTIBj4"
"current_key": "AIzaSyCbsDdKgHMimD7Fu3EJVrQchznWEuFBnVs"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
"other_platform_oauth_client": [
{
"client_id": "559419143491-5561f39er20nu3h2ucnrevba70elh0il.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- countly_flutter (21.11.1):
- countly_flutter (21.11.2):
- Flutter
- Flutter (1.0.0)

Expand All @@ -14,7 +14,7 @@ EXTERNAL SOURCES:
:path: Flutter

SPEC CHECKSUMS:
countly_flutter: e245f94349d8adf306c22e60c10648c69aae7380
countly_flutter: 48109a453b6f1a25cb6a47c34c2701f3a7be4d15
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
Expand Down
3 changes: 2 additions & 1 deletion ios/Classes/CountlyFlutterPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ @interface CountlyFeedbackWidget ()
+ (CountlyFeedbackWidget *)createWithDictionary:(NSDictionary *)dictionary;
@end

NSString* const kCountlyFlutterSDKVersion = @"21.11.1";
NSString* const kCountlyFlutterSDKVersion = @"21.11.2";
NSString* const kCountlyFlutterSDKName = @"dart-flutterb-ios";

FlutterResult notificationListener = nil;
Expand Down Expand Up @@ -56,6 +56,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
if([@"init" isEqualToString:call.method]){
NSDictionary* _config = [command objectAtIndex:0];
[self populateConfig:_config];
config.internalLogLevel = CLYInternalLogLevelVerbose;
CountlyCommon.sharedInstance.SDKName = kCountlyFlutterSDKName;
CountlyCommon.sharedInstance.SDKVersion = kCountlyFlutterSDKVersion;

Expand Down
2 changes: 1 addition & 1 deletion ios/countly_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'countly_flutter'
s.version = '21.11.1'
s.version = '21.11.2'
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
s.homepage = 'https://github.com/Countly/countly-sdk-flutter-bridge'
s.social_media_url = 'https://twitter.com/gocountly'
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: countly_flutter
description: Countly is an innovative, real-time, open source mobile analytics and push notifications platform.
version: 21.11.1
version: 21.11.2
homepage: https://support.count.ly/hc/en-us/articles/360037944212-Flutter

environment:
Expand Down

0 comments on commit 3fc7845

Please sign in to comment.