react-native-ux-cam 6.0.6 → 6.0.7
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.7 | Updated iOS SDK to 3.6.26 and Android to 3.6.43
|
|
8
9
|
6.0.6 | Updated iOS SDK to 3.6.24 and Android to 3.6.41
|
|
9
10
|
6.0.5 | Fix nullable not mapping properly on iOS on RN 0.78
|
|
10
11
|
6.0.4 | Updated iOS SDK to 3.6.22 and Android to 3.6.38
|
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.26'
|
|
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
|
@@ -23,6 +23,7 @@ import com.facebook.react.bridge.UnexpectedNativeTypeException;
|
|
|
23
23
|
import com.facebook.react.bridge.WritableMap;
|
|
24
24
|
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
25
25
|
import com.facebook.react.uimanager.NativeViewHierarchyManager;
|
|
26
|
+
import com.facebook.react.uimanager.IllegalViewOperationException;
|
|
26
27
|
import com.facebook.react.uimanager.UIBlock;
|
|
27
28
|
import com.facebook.react.uimanager.UIManagerHelper;
|
|
28
29
|
import com.facebook.react.uimanager.UIManagerModule;
|
|
@@ -57,7 +58,7 @@ public class RNUxcamModuleImpl {
|
|
|
57
58
|
public static final String HIDE_GESTURES = "hideGestures";
|
|
58
59
|
|
|
59
60
|
private static final String UXCAM_PLUGIN_TYPE = "react-native";
|
|
60
|
-
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.
|
|
61
|
+
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.7";
|
|
61
62
|
|
|
62
63
|
private final ReactApplicationContext reactContext;
|
|
63
64
|
|
|
@@ -297,24 +298,31 @@ public class RNUxcamModuleImpl {
|
|
|
297
298
|
UiThreadUtil.runOnUiThread(new Runnable() {
|
|
298
299
|
@Override
|
|
299
300
|
public void run() {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
try {
|
|
302
|
+
View view = uiManager.resolveView(tag);
|
|
303
|
+
if (view != null) {
|
|
304
|
+
viewFinder.obtainView(view);
|
|
305
|
+
}
|
|
306
|
+
} catch (IllegalViewOperationException e) {
|
|
307
|
+
// Skip occlusion if view no longer exists
|
|
303
308
|
}
|
|
304
309
|
}
|
|
305
310
|
}, 100);
|
|
306
311
|
} else {
|
|
307
|
-
((UIManagerModule)uiManager).addUIBlock(new UIBlock() {
|
|
312
|
+
((UIManagerModule) uiManager).addUIBlock(new UIBlock() {
|
|
308
313
|
@Override
|
|
309
314
|
public void execute(NativeViewHierarchyManager nativeViewHierarchyManager) {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
315
|
+
try {
|
|
316
|
+
View view = nativeViewHierarchyManager.resolveView(tag);
|
|
317
|
+
if (view != null) {
|
|
318
|
+
viewFinder.obtainView(view);
|
|
319
|
+
}
|
|
320
|
+
} catch (IllegalViewOperationException e) {
|
|
321
|
+
// Skip occlusion if view no longer exists
|
|
313
322
|
}
|
|
314
323
|
}
|
|
315
324
|
});
|
|
316
325
|
}
|
|
317
|
-
|
|
318
326
|
}
|
|
319
327
|
|
|
320
328
|
public void optInOverall() {
|
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.7";
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@interface RNUxcam ()
|