From 4cb2aa4b1886b094c300747289e8bb71847e1b1b Mon Sep 17 00:00:00 2001 From: Liam Meier Date: Mon, 30 Dec 2024 12:39:40 -0500 Subject: [PATCH] bump iOS to 3.19.7-beta.1 and rn to 3.18.9-beta.2 --- android/build.gradle | 2 +- android/src/main/java/io/radar/react/RNRadarModule.java | 2 +- example/package-lock.json | 4 ++-- ios/Cartfile.resolved | 2 +- ios/RNRadar.m | 2 +- package-lock.json | 4 ++-- package.json | 2 +- plugin/src/withRadarIOS.ts | 4 ++-- react-native-radar.podspec | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fffd4eda..0fd805c6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,7 +18,7 @@ android { minSdkVersion 16 targetSdkVersion 31 versionCode 1 - versionName '3.18.9-beta.1' + versionName '3.18.9-beta.2' } lintOptions { abortOnError false diff --git a/android/src/main/java/io/radar/react/RNRadarModule.java b/android/src/main/java/io/radar/react/RNRadarModule.java index c41ea3f1..da765f05 100644 --- a/android/src/main/java/io/radar/react/RNRadarModule.java +++ b/android/src/main/java/io/radar/react/RNRadarModule.java @@ -96,7 +96,7 @@ public void initialize(String publishableKey, boolean fraud) { this.fraud = fraud; SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit(); editor.putString("x_platform_sdk_type", "ReactNative"); - editor.putString("x_platform_sdk_version", "3.18.9-beta.1"); + editor.putString("x_platform_sdk_version", "3.18.9-beta.2"); editor.apply(); if (fraud) { Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud); diff --git a/example/package-lock.json b/example/package-lock.json index 9f65bc39..43545d3f 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -12203,7 +12203,7 @@ } }, "node_modules/react-native-radar": { - "version": "3.18.9-beta.1", + "version": "3.18.9-beta.2", "resolved": "file:..", "license": "Apache-2.0", "dependencies": { @@ -23202,7 +23202,7 @@ } }, "react-native-radar": { - "version": "3.18.9-beta.1", + "version": "3.18.9-beta.2", "requires": { "@babel/runtime": "^7.21.0", "@react-native-community/netinfo": "^7.1.3", diff --git a/ios/Cartfile.resolved b/ios/Cartfile.resolved index f2df89d5..52419dca 100644 --- a/ios/Cartfile.resolved +++ b/ios/Cartfile.resolved @@ -1 +1 @@ -github "radarlabs/radar-sdk-ios" "3.19.4" +github "radarlabs/radar-sdk-ios" "3.19.7-beta.1" diff --git a/ios/RNRadar.m b/ios/RNRadar.m index 9e84346f..6bc05de5 100644 --- a/ios/RNRadar.m +++ b/ios/RNRadar.m @@ -102,7 +102,7 @@ - (void)didUpdateToken:(RadarVerifiedLocationToken *)token { RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud) { [[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"]; - [[NSUserDefaults standardUserDefaults] setObject:@"3.18.9-beta.1" forKey:@"radar-xPlatformSDKVersion"]; + [[NSUserDefaults standardUserDefaults] setObject:@"3.18.9-beta.2" forKey:@"radar-xPlatformSDKVersion"]; [Radar initializeWithPublishableKey:publishableKey]; } diff --git a/package-lock.json b/package-lock.json index c6b89748..b0e0d8cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-native-radar", - "version": "3.18.9-beta.1", + "version": "3.18.9-beta.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-native-radar", - "version": "3.18.9-beta.1", + "version": "3.18.9-beta.2", "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.21.0", diff --git a/package.json b/package.json index 7bcd6f5a..c90ff5b2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "React Native module for Radar, the leading geofencing and location tracking platform", "homepage": "https://radar.com", "license": "Apache-2.0", - "version": "3.18.9-beta.1", + "version": "3.18.9-beta.2", "main": "dist/index.js", "files": [ "/android", diff --git a/plugin/src/withRadarIOS.ts b/plugin/src/withRadarIOS.ts index ee149cf0..75af2ef8 100644 --- a/plugin/src/withRadarIOS.ts +++ b/plugin/src/withRadarIOS.ts @@ -52,7 +52,7 @@ export const withRadarIOS: ConfigPlugin = (config, args) => { const contents = await fs.readFile(filePath, 'utf-8'); // Check if the pod declaration already exists - if (contents.indexOf("pod 'RadarSDKMotion', '3.19.4'") === -1) { + if (contents.indexOf("pod 'RadarSDKMotion', '3.19.7-beta.1'") === -1) { // Find the target block const targetRegex = /target '(\w+)' do/g; const match = targetRegex.exec(contents); @@ -62,7 +62,7 @@ export const withRadarIOS: ConfigPlugin = (config, args) => { // Insert the pod declaration within the target block const targetBlock = contents.substring(targetStartIndex, targetEndIndex); - const updatedTargetBlock = targetBlock.replace(/(target '(\w+)' do)/, `$1\n pod 'RadarSDKMotion', '3.19.4'`); + const updatedTargetBlock = targetBlock.replace(/(target '(\w+)' do)/, `$1\n pod 'RadarSDKMotion', '3.19.7-beta.1'`); const newContents = contents.replace(targetBlock, updatedTargetBlock); // Write the updated contents back to the Podfile diff --git a/react-native-radar.podspec b/react-native-radar.podspec index f4c0fa63..4b6a47fa 100644 --- a/react-native-radar.podspec +++ b/react-native-radar.podspec @@ -15,5 +15,5 @@ Pod::Spec.new do |s| s.platform = :ios, "10.0" s.dependency "React" - s.dependency "RadarSDK", "~> 3.19.4" + s.dependency "RadarSDK", "~> 3.19.7-beta.1" end