From 56398a42d30862c49aac5868d9f9205023f03fdb Mon Sep 17 00:00:00 2001 From: Kenny Hu Date: Thu, 10 Oct 2024 14:06:56 -0400 Subject: [PATCH 1/2] bump to 3.18.0 --- CHANGELOG.md | 5 ++++- android/build.gradle | 2 +- example/android/app/build.gradle | 2 +- example/ios/Runner/AppDelegate.m | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e864f5c..c1d19ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ -#3.12.2 +# 3.18.0 +- Bump Android version from 3.18.1 to 3.18.3 + +# 3.12.2 - Patch `getLocation` method for iOS # 3.12.1 diff --git a/android/build.gradle b/android/build.gradle index 37dbcd4..b5fde41 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -37,7 +37,7 @@ android { } dependencies { - implementation 'io.radar:sdk:3.18.1' + implementation 'io.radar:sdk:3.18.3' implementation 'com.google.android.gms:play-services-location:21.0.1' implementation 'com.google.code.gson:gson:2.8.6' } diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index d506b3f..4723af8 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -49,7 +49,7 @@ android { } dependencies { - implementation 'io.radar:sdk:3.18.1' + implementation 'io.radar:sdk:3.18.3' implementation "com.google.android.play:integrity:1.2.0" } } diff --git a/example/ios/Runner/AppDelegate.m b/example/ios/Runner/AppDelegate.m index 594aa98..c52155f 100644 --- a/example/ios/Runner/AppDelegate.m +++ b/example/ios/Runner/AppDelegate.m @@ -7,8 +7,10 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [GeneratedPluginRegistrant registerWithRegistry:self]; + [Radar nativeSetup]; [Radar initializeWithPublishableKey:@"prj_test_pk_0000000000000000000000000000000000000000"]; - return [super application:application didFinishLaunchingWithOptions:launchOptions]; + BOOL res = [super application:application didFinishLaunchingWithOptions:launchOptions]; + return res; } @end From 4edd0fb87912034434f4ea25e19431e5f32eb3b1 Mon Sep 17 00:00:00 2001 From: Kenny Hu Date: Thu, 10 Oct 2024 14:49:18 -0400 Subject: [PATCH 2/2] change version number --- CHANGELOG.md | 2 +- android/build.gradle | 2 +- android/src/main/java/io/radar/flutter/RadarFlutterPlugin.java | 2 +- ios/Classes/RadarFlutterPlugin.m | 2 +- ios/flutter_radar.podspec | 2 +- pubspec.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1d19ef..78c9a0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -# 3.18.0 +# 3.13.0 - Bump Android version from 3.18.1 to 3.18.3 # 3.12.2 diff --git a/android/build.gradle b/android/build.gradle index b5fde41..11c655a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,7 +29,7 @@ android { minSdkVersion 16 targetSdkVersion 31 versionCode 1 - versionName '3.12.2' + versionName '3.13.0' } lintOptions { disable 'InvalidPackage' diff --git a/android/src/main/java/io/radar/flutter/RadarFlutterPlugin.java b/android/src/main/java/io/radar/flutter/RadarFlutterPlugin.java index edf279a..55a023d 100644 --- a/android/src/main/java/io/radar/flutter/RadarFlutterPlugin.java +++ b/android/src/main/java/io/radar/flutter/RadarFlutterPlugin.java @@ -294,7 +294,7 @@ private static void initialize(MethodCall call, Result result) { String publishableKey = call.argument("publishableKey"); SharedPreferences.Editor editor = mContext.getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit(); editor.putString("x_platform_sdk_type", "Flutter"); - editor.putString("x_platform_sdk_version", "3.12.2"); + editor.putString("x_platform_sdk_version", "3.13.0"); editor.apply(); Radar.initialize(mContext, publishableKey); Radar.setReceiver(new RadarFlutterReceiver(channel)); diff --git a/ios/Classes/RadarFlutterPlugin.m b/ios/Classes/RadarFlutterPlugin.m index b7bb363..5db4348 100644 --- a/ios/Classes/RadarFlutterPlugin.m +++ b/ios/Classes/RadarFlutterPlugin.m @@ -142,7 +142,7 @@ - (void)initialize:(FlutterMethodCall *)call withResult:(FlutterResult)result { NSString *publishableKey = argsDict[@"publishableKey"]; [[NSUserDefaults standardUserDefaults] setObject:@"Flutter" forKey:@"radar-xPlatformSDKType"]; - [[NSUserDefaults standardUserDefaults] setObject:@"3.12.2" forKey:@"radar-xPlatformSDKVersion"]; + [[NSUserDefaults standardUserDefaults] setObject:@"3.13.0" forKey:@"radar-xPlatformSDKVersion"]; [Radar initializeWithPublishableKey:publishableKey]; result(nil); } diff --git a/ios/flutter_radar.podspec b/ios/flutter_radar.podspec index 56c4d8f..aaa1694 100644 --- a/ios/flutter_radar.podspec +++ b/ios/flutter_radar.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'flutter_radar' - s.version = '3.12.2' + s.version = '3.13.0' s.summary = 'Flutter package for Radar, the leading geofencing and location tracking platform' s.description = 'Flutter package for Radar, the leading geofencing and location tracking platform' s.homepage = 'http://example.com' diff --git a/pubspec.yaml b/pubspec.yaml index 0ab4128..2bbacf0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_radar description: Flutter package for Radar, the leading geofencing and location tracking platform -version: 3.12.2 +version: 3.13.0 homepage: https://github.com/radarlabs/flutter-radar environment: