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.
|
|
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)
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
60
|
+
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.6";
|
|
61
61
|
|
|
62
62
|
private final ReactApplicationContext reactContext;
|
|
63
63
|
|
package/ios/RNUxcam/RNUxcam.mm
CHANGED
|
@@ -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.
|
|
35
|
+
static NSString* const RNUxcam_PluginVersion = @"6.0.6";
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@interface RNUxcam ()
|
package/package.json
CHANGED
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
|
-
|
|
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
|
-
|
|
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
|
|