Skip to content

Commit e7b0076

Browse files
chore: format
1 parent aa82f1c commit e7b0076

4 files changed

Lines changed: 22 additions & 24 deletions

File tree

example/integration_test/utils.dart

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,16 @@ void testCommonRequestParams(Map<String, List<String>> requestObject) {
8383
expect(requestObject['app_key']?[0], APP_KEY);
8484
expect(
8585
requestObject['sdk_name']?[0],
86-
"dart-flutterb-${kIsWeb
87-
? 'web'
88-
: Platform.isIOS
89-
? 'ios'
90-
: 'android'}",
86+
"dart-flutterb-${kIsWeb ? 'web' : Platform.isIOS ? 'ios' : 'android'}",
9187
);
9288
expect(requestObject['sdk_version']?[0], '26.1.0');
9389
expect(
9490
requestObject['av']?[0],
9591
kIsWeb
9692
? '0.0'
9793
: Platform.isIOS
98-
? '0.0.1'
99-
: '1.0.0',
94+
? '0.0.1'
95+
: '1.0.0',
10096
);
10197
assert(requestObject['timestamp']?[0] != null);
10298

example/lib/page_others.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class _OthersPageState extends State<OthersPage> {
8787
Countly.instance.views.stopAllViews();
8888
}
8989

90-
9190
Future<void> checkIsInitialized() async {
9291
bool result = await Countly.isInitialized();
9392
if (mounted) {

lib/src/countly_config.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class CountlyConfig {
147147
bool get sdkBehaviorSettingsUpdatesDisabled => _sdkBehaviorSettingsUpdatesDisabled;
148148

149149
int? get requestTimeoutDuration => _requestTimeoutDuration;
150-
150+
151151
bool get storingDefaultPushConsentDisabled => _storingDefaultPushConsentDisabled;
152152

153153
bool get viewRestartForManualRecordingDisabled => _viewRestartForManualRecordingDisabled;
@@ -417,7 +417,7 @@ class CountlyConfig {
417417
_requestTimeoutDuration = requestTimeoutDuration;
418418
return this;
419419
}
420-
420+
421421
/// Disable storing the default push consent on initialization
422422
CountlyConfig disableStoringDefaultPushConsent() {
423423
_storingDefaultPushConsentDisabled = true;

scripts/sync_sdk_versions.dart

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,20 +164,23 @@ void main(List<String> args) {
164164
// ---- Stage all modified files ----
165165
print('');
166166
print('📋 Staging changed files...');
167-
run('git', [
168-
'add',
169-
'scripts/config/sdk_versions.txt',
170-
'pubspec.yaml',
171-
'ios/countly_flutter.podspec',
172-
'android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java',
173-
'ios/Classes/CountlyFlutterPlugin.m',
174-
'lib/src/web/plugin_config.dart',
175-
'scripts/no-push-files/pubspec.yaml',
176-
'scripts/no-push-files/countly_flutter_np.podspec',
177-
'android/build.gradle',
178-
'scripts/no-push-files/build.gradle',
179-
'ios/Classes/countly-sdk-ios',
180-
], rootDir);
167+
run(
168+
'git',
169+
[
170+
'add',
171+
'scripts/config/sdk_versions.txt',
172+
'pubspec.yaml',
173+
'ios/countly_flutter.podspec',
174+
'android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java',
175+
'ios/Classes/CountlyFlutterPlugin.m',
176+
'lib/src/web/plugin_config.dart',
177+
'scripts/no-push-files/pubspec.yaml',
178+
'scripts/no-push-files/countly_flutter_np.podspec',
179+
'android/build.gradle',
180+
'scripts/no-push-files/build.gradle',
181+
'ios/Classes/countly-sdk-ios',
182+
],
183+
rootDir);
181184
print('✅ All changed files staged');
182185

183186
// ---- Flutter clean & pub get ----

0 commit comments

Comments
 (0)