react-native-radar 3.23.0-beta.2 → 3.23.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Radar.podspec CHANGED
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,cpp}"
17
17
  s.private_header_files = "ios/**/*.h"
18
18
 
19
- s.dependency "RadarSDK", "~> 3.23.0-beta.2"
19
+ s.dependency "RadarSDK", "3.23.0-beta.3"
20
20
 
21
21
  install_modules_dependencies(s)
22
22
  end
@@ -1,3 +1,5 @@
1
+ def radar_sdk_version = '3.23.0-beta.2'
2
+
1
3
  buildscript {
2
4
  ext.getExtOrDefault = {name ->
3
5
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['Radar_' + name]
@@ -83,7 +85,7 @@ dependencies {
83
85
  // Keep Kotlin stdlib internal to this module
84
86
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
85
87
 
86
- api 'io.radar:sdk:3.23.0-beta.1'
88
+ api "io.radar:sdk:$radar_sdk_version"
87
89
  }
88
90
 
89
91
  react {
@@ -104,10 +104,10 @@ class RadarModule(reactContext: ReactApplicationContext) :
104
104
  override fun initialize(publishableKey: String, fraud: Boolean): Unit {
105
105
  val editor = reactApplicationContext.getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit()
106
106
  editor.putString("x_platform_sdk_type", "ReactNative")
107
- editor.putString("x_platform_sdk_version", "3.23.0-beta.1")
107
+ editor.putString("x_platform_sdk_version", "3.23.0-beta.3")
108
108
  editor.apply()
109
109
 
110
- Radar.initialize(reactApplicationContext, publishableKey, null, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, currentActivity)
110
+ Radar.initialize(reactApplicationContext, publishableKey, null, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, null, currentActivity)
111
111
  if (fraud) {
112
112
  Radar.setVerifiedReceiver(radarVerifiedReceiver)
113
113
  }
@@ -98,9 +98,9 @@ public class RadarModule extends ReactContextBaseJavaModule implements Permissio
98
98
  this.fraud = fraud;
99
99
  SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
100
100
  editor.putString("x_platform_sdk_type", "ReactNative");
101
- editor.putString("x_platform_sdk_version", "3.23.0-beta.2");
101
+ editor.putString("x_platform_sdk_version", "3.23.0-beta.3");
102
102
  editor.apply();
103
- Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, getCurrentActivity());
103
+ Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, null, getCurrentActivity());
104
104
  if (fraud) {
105
105
  Radar.setVerifiedReceiver(verifiedReceiver);
106
106
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "3.23.0-beta.2";
1
+ export declare const VERSION = "3.23.0-beta.3";
package/dist/version.js CHANGED
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // This file contains the version of the react-native-radar package
5
5
  // It should be updated to match the version in package.json
6
- exports.VERSION = '3.23.0-beta.2';
6
+ exports.VERSION = '3.23.0-beta.3';
package/ios/RNRadar.mm CHANGED
@@ -139,7 +139,7 @@ RCT_EXPORT_MODULE()
139
139
 
140
140
  RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud) {
141
141
  [[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"];
142
- [[NSUserDefaults standardUserDefaults] setObject:@"3.23.0-beta.2" forKey:@"radar-xPlatformSDKVersion"];
142
+ [[NSUserDefaults standardUserDefaults] setObject:@"3.23.0-beta.3" forKey:@"radar-xPlatformSDKVersion"];
143
143
  [Radar initializeWithPublishableKey:publishableKey];
144
144
  }
145
145
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React Native module for Radar, the leading geofencing and location tracking platform",
4
4
  "homepage": "https://radar.com",
5
5
  "license": "Apache-2.0",
6
- "version": "3.23.0-beta.2",
6
+ "version": "3.23.0-beta.3",
7
7
  "main": "dist/index.js",
8
8
  "files": [
9
9
  "dist",
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file contains the version of the react-native-radar package
2
2
  // It should be updated to match the version in package.json
3
- export const VERSION = '3.23.0-beta.2';
3
+ export const VERSION = '3.23.0-beta.3';