react-native-ux-cam 6.0.5 → 6.0.6

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/CHANGELOG.md CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  Version | Changes
7
7
  ------- | ----------
8
+ 6.0.6 | Updated iOS SDK to 3.6.24 and Android to 3.6.41
8
9
  6.0.5 | Fix nullable not mapping properly on iOS on RN 0.78
9
10
  6.0.4 | Updated iOS SDK to 3.6.22 and Android to 3.6.38
10
11
  6.0.3 | Updated iOS SDK to 3.6.21 and Android to 3.6.37
package/RNUxcam.podspec CHANGED
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
18
18
  s.requires_arc = true
19
19
  s.static_framework = true
20
20
 
21
- s.dependency 'UXCam' , '~> 3.6.22'
21
+ s.dependency 'UXCam' , '~> 3.6.24'
22
22
 
23
23
  if defined? install_modules_dependencies
24
24
  # Default React Native dependencies for 0.71 and above (new and legacy architecture)
@@ -69,7 +69,7 @@ rootProject.allprojects {
69
69
 
70
70
  dependencies {
71
71
  implementation 'com.facebook.react:react-native:+'
72
- implementation 'com.uxcam:uxcam:3.6.38'
72
+ implementation 'com.uxcam:uxcam:3.6.41'
73
73
  }
74
74
 
75
75
  if (isNewArchitectureEnabled()) {
@@ -57,7 +57,7 @@ public class RNUxcamModuleImpl {
57
57
  public static final String HIDE_GESTURES = "hideGestures";
58
58
 
59
59
  private static final String UXCAM_PLUGIN_TYPE = "react-native";
60
- private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.5";
60
+ private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.6";
61
61
 
62
62
  private final ReactApplicationContext reactContext;
63
63
 
@@ -32,7 +32,7 @@ static NSString* const RNUxcam_HideGestures = @"hideGestures";
32
32
  static NSString* const RNUxcam_OverlayColor = @"color";
33
33
 
34
34
  static NSString* const RNUxcam_PluginType = @"react-native";
35
- static NSString* const RNUxcam_PluginVersion = @"6.0.5";
35
+ static NSString* const RNUxcam_PluginVersion = @"6.0.6";
36
36
 
37
37
 
38
38
  @interface RNUxcam ()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ux-cam",
3
- "version": "6.0.5",
3
+ "version": "6.0.6",
4
4
  "description": "React Native wrapper for uxcam.com.",
5
5
  "react-native": "src/index",
6
6
  "main": "src/index",
package/src/UXCam.js CHANGED
@@ -324,13 +324,25 @@ export default class UXCam {
324
324
 
325
325
  static occludeSensitiveView(sensitiveView) {
326
326
  if (sensitiveView) {
327
- UXCamBridge.occludeSensitiveView(findNodeHandle(sensitiveView), false);
327
+ const tag = findNodeHandle(sensitiveView);
328
+ if (tag) {
329
+ // Add a small delay to allow the native view to be registered
330
+ setTimeout(() => {
331
+ UXCamBridge.occludeSensitiveView(tag, false);
332
+ }, 10);
333
+ }
328
334
  }
329
335
  }
330
336
 
331
337
  static occludeSensitiveViewWithoutGesture(sensitiveView) {
332
338
  if (sensitiveView) {
333
- UXCamBridge.occludeSensitiveView(findNodeHandle(sensitiveView), true);
339
+ const tag = findNodeHandle(sensitiveView);
340
+ if (tag) {
341
+ // Add a small delay to allow the native view to be registered
342
+ setTimeout(() => {
343
+ UXCamBridge.occludeSensitiveView(tag, true);
344
+ }, 10);
345
+ }
334
346
  }
335
347
  }
336
348