From 52dff03568aa858ca6d3bbd8374e64aa5057966b Mon Sep 17 00:00:00 2001 From: Sanu gupta Date: Tue, 19 Nov 2024 12:28:19 +0530 Subject: [PATCH] fix-namespace-issue --- CHANGELOG.md | 5 ++--- README.md | 2 +- android/build.gradle | 1 + .../example/trackierfluttersdk/TrackierfluttersdkPlugin.kt | 2 +- ios/Classes/SwiftTrackierfluttersdkPlugin.swift | 2 +- ios/trackier_sdk_flutter.podspec | 2 +- pubspec.yaml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8430ed..a649a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ -## 1.6.60 +## 1.6.61 -- update: version upgrade -- update: imei support in android and parse deeplink in ios \ No newline at end of file +- fix: fix namespace issue \ No newline at end of file diff --git a/README.md b/README.md index 340c247..1f37cbb 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ You can add the flutter sdk in two ways:- ``` dependencies: - trackier_sdk_flutter: ^1.6.60 + trackier_sdk_flutter: ^1.6.61 ``` 2. By using cli command. you need to run the below command in `terminal/cmd`. diff --git a/android/build.gradle b/android/build.gradle index feacab4..64412c1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,6 +27,7 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 31 + namespace "com.example.trackierfluttersdk" sourceSets { main.java.srcDirs += 'src/main/kotlin' diff --git a/android/src/main/kotlin/com/example/trackierfluttersdk/TrackierfluttersdkPlugin.kt b/android/src/main/kotlin/com/example/trackierfluttersdk/TrackierfluttersdkPlugin.kt index 0167bf9..a8144bd 100644 --- a/android/src/main/kotlin/com/example/trackierfluttersdk/TrackierfluttersdkPlugin.kt +++ b/android/src/main/kotlin/com/example/trackierfluttersdk/TrackierfluttersdkPlugin.kt @@ -198,7 +198,7 @@ class TrackierfluttersdkPlugin : FlutterPlugin, MethodCallHandler { disableOrganic = configMap.get("disableOrganicTracking") as Boolean } trackierSDKConfig = TrackierSDKConfig(context, appToken, environment) - trackierSDKConfig.setSDKVersion("1.6.60") + trackierSDKConfig.setSDKVersion("1.6.61") trackierSDKConfig.setSDKType("flutter_sdk") trackierSDKConfig.setAppSecret(secretId, secretKey) trackierSDKConfig.setManualMode(manualmode) diff --git a/ios/Classes/SwiftTrackierfluttersdkPlugin.swift b/ios/Classes/SwiftTrackierfluttersdkPlugin.swift index 5aabd04..583a426 100644 --- a/ios/Classes/SwiftTrackierfluttersdkPlugin.swift +++ b/ios/Classes/SwiftTrackierfluttersdkPlugin.swift @@ -234,7 +234,7 @@ public class SwiftTrackierfluttersdkPlugin: NSObject, FlutterPlugin, DeepLinkLis let deeplinkKey = "\(dict?["deeplinkCallback"] as? String ?? "")" let config = TrackierSDKConfig(appToken: appToken , env: environment) config.setAppSecret(secretId: secretId, secretKey: secretKey) - config.setSDKVersion(sdkVersion: "1.6.60") + config.setSDKVersion(sdkVersion: "1.6.61") if (!deeplinkKey.isEmpty) { config.setDeeplinkListerner(listener: self) } diff --git a/ios/trackier_sdk_flutter.podspec b/ios/trackier_sdk_flutter.podspec index a53d37f..4277382 100644 --- a/ios/trackier_sdk_flutter.podspec +++ b/ios/trackier_sdk_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'trackier_sdk_flutter' - s.version = '1.6.60' + s.version = '1.6.61' s.summary = 'Trackier flutter SDK' s.description = <<-DESC This is Trackier flutter SDK diff --git a/pubspec.yaml b/pubspec.yaml index 4a9b5be..4996f00 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: trackier_sdk_flutter description: This is trackier flutter SDK -version: 1.6.60 +version: 1.6.61 homepage: https://github.com/trackier/flutter-sdk environment: