react-native-repro 3.23.0 → 3.24.0

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.
@@ -58,7 +58,7 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
58
58
 
59
59
  private final ReactApplicationContext reactContext;
60
60
 
61
- private static final String REPRO_REACT_NATIVE_BRIDGE_VERSION = "3.23.0";
61
+ private static final String REPRO_REACT_NATIVE_BRIDGE_VERSION = "3.24.0";
62
62
 
63
63
  public ReproReactBridgeModule(ReactApplicationContext reactContext) {
64
64
  super(reactContext);
@@ -277,6 +277,12 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
277
277
  Repro.unlinkLineID(lineUserId, lineChannelId);
278
278
  }
279
279
 
280
+ @ReactMethod
281
+ public void _handleWebViewUrl(String requestUrl) {
282
+ // NOTE: use bool return value when changing to new react native arch
283
+ Repro._webviewJavaScriptOpenUrlHandler(requestUrl);
284
+ }
285
+
280
286
  @ReactMethod
281
287
  public void track(final String name, final ReadableMap properties) {
282
288
  if (properties == null) {
package/index.js CHANGED
@@ -239,6 +239,11 @@ const Repro = {
239
239
  ...{ remoteConfig: RemoteConfigModule },
240
240
 
241
241
  setOpenUrlCallback: EventEmitterOpenUrl.setCallback,
242
+
243
+ handleWebViewUrl: (url) => {
244
+ NativeModules.Repro._handleWebViewUrl(url);
245
+ return url.startsWith('repro://');
246
+ }
242
247
  }
243
248
 
244
249
 
@@ -44,7 +44,7 @@
44
44
  #endif
45
45
 
46
46
 
47
- #define REPRO_REACT_NATIVE_BRIDGE_VERSION "3.23.0"
47
+ #define REPRO_REACT_NATIVE_BRIDGE_VERSION "3.24.0"
48
48
 
49
49
 
50
50
 
@@ -265,6 +265,7 @@ RCT_EXPORT_METHOD(forceReset)
265
265
 
266
266
  @interface Repro (NonPublicApi)
267
267
  + (void)_passRuntimeValues:(nonnull NSDictionary<NSString *, NSString *> *)values;
268
+ + (BOOL)_webviewJavaScriptOpenUrlHandler:(NSString *)url;
268
269
  @end
269
270
 
270
271
 
@@ -626,6 +627,13 @@ RCT_EXPORT_METHOD(trackCompleteRegistration:(NSDictionary *)props)
626
627
 
627
628
  // Other
628
629
 
630
+
631
+ RCT_EXPORT_METHOD(_handleWebViewUrl:(NSString *)webViewRequestUrl)
632
+ {
633
+ // NOTE: use bool return value when changing to new react native arch
634
+ [Repro _webviewJavaScriptOpenUrlHandler:webViewRequestUrl];
635
+ }
636
+
629
637
  RCT_EXPORT_METHOD(setLogLevel:(RPRLogLevel)level)
630
638
  {
631
639
  [Repro setLogLevel:level];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-repro",
3
- "version": "3.23.0",
3
+ "version": "3.24.0",
4
4
  "description": "Repro is a mobile analytics tool that lets you have much deeper understanding of mobile app users.",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "ios-sdk": "5.20.0",
3
3
  "android-sdk": "5.19.0",
4
- "bridge": "3.23.0"
4
+ "bridge": "3.24.0"
5
5
  }
@@ -7,6 +7,6 @@
7
7
  <versions>
8
8
  <version>5.19.0</version>
9
9
  </versions>
10
- <lastUpdated>20250425152514</lastUpdated>
10
+ <lastUpdated>20250528174129</lastUpdated>
11
11
  </versioning>
12
12
  </metadata>
@@ -1 +1 @@
1
- 9e7823330aaff397c25a019d722767d8
1
+ bd2a48c06c7bc61a99946456fca90a08
@@ -1 +1 @@
1
- 4b2b8effd6f44108f54b0271ff86c397290d6732
1
+ 53f908569aa3579ecd5e0bb9c501604f050528b5