Skip to content

Commit aa1fcb4

Browse files
committed
fixes
1 parent b8b60cc commit aa1fcb4

File tree

6 files changed

+8
-26
lines changed

6 files changed

+8
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies:
4444
## Usage
4545
4646
```dart
47-
import 'package:countly_flutter/countly_flutter.dart';
47+
import 'package:countly_flutter_np/countly_flutter.dart';
4848

4949
void main() {
5050
runApp(MaterialApp(home: const MyApp()));

example/ios/Flutter/Flutter.podspec

Lines changed: 0 additions & 18 deletions
This file was deleted.

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ EXTERNAL SOURCES:
3030
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
3131

3232
SPEC CHECKSUMS:
33-
countly_flutter: 6a2ccd4c63c21c2fea1ab58e14d03fecc03a00fa
33+
countly_flutter_np: 959aaaf59ac3c30e9ef264db4b9e07f420d5cf9b
3434
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
3535
flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817
3636
integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
6060
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
6161
2F5416FE25A893D50047E5F9 /* CountlyNotificationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = CountlyNotificationService.m; path = ../../ios/Classes/CountlyiOS/CountlyNotificationService.m; sourceTree = "<group>"; };
62-
2F54170025A893D70047E5F9 /* CountlyNotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = CountlyNotificationService.h; path = .symlinks/plugins/countly_flutter/ios/Classes/CountlyiOS/../../../../../../../../ios/Classes/CountlyiOS/CountlyNotificationService.h; sourceTree = "<group>"; };
62+
2F54170025A893D70047E5F9 /* CountlyNotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = CountlyNotificationService.h; path = .symlinks/plugins/countly_flutter_np/ios/Classes/CountlyiOS/../../../../../../../../ios/Classes/CountlyiOS/CountlyNotificationService.h; sourceTree = "<group>"; };
6363
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
6464
43A5439BF4A8475C0F1E7A45 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
6565
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };

lib/src/countly_flutter.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'dart:async';
22
import 'dart:convert';
33
import 'dart:io' show Platform;
44

5-
import 'package:countly_flutter/src/content_builder.dart';
65
import 'package:flutter/foundation.dart';
76
import 'package:flutter/services.dart';
87
import 'package:pedantic/pedantic.dart';
@@ -237,8 +236,9 @@ class Countly {
237236
ContentStatus contentStatus = ContentStatus.completed;
238237
if (contentResult == 1) {
239238
contentStatus = ContentStatus.closed;
240-
}
241-
Map<String, dynamic> contentData = Map<String, dynamic>.from(argumentsMap['contentData']);;
239+
}
240+
Map<String, dynamic> contentData = Map<String, dynamic>.from(argumentsMap['contentData']);
241+
;
242242

243243
Countly.instance._contentBuilderInternal.onContentCallback(contentStatus, contentData);
244244
break;
@@ -327,7 +327,7 @@ class Countly {
327327
Countly.instance._remoteConfigInternal.registerDownloadCallback(callback);
328328
}
329329

330-
if(config.content.contentCallback != null){
330+
if (config.content.contentCallback != null) {
331331
log('[initWithConfig] About to register content callback', logLevel: LogLevel.VERBOSE);
332332
Countly.instance._contentBuilderInternal.registerContentCallback(config.content.contentCallback!);
333333
}

scripts/no-push-files/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies:
4444
## Usage
4545
4646
```dart
47-
import 'package:countly_flutter/countly_flutter.dart';
47+
import 'package:countly_flutter_np/countly_flutter.dart';
4848

4949
void main() {
5050
runApp(MaterialApp(home: const MyApp()));

0 commit comments

Comments
 (0)