@obsrviq/react-native 0.3.1

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.
@@ -0,0 +1,29 @@
1
+ #import <React/RCTViewManager.h>
2
+ #import "LumeraMaskView.h"
3
+
4
+ /**
5
+ * View manager for the <LumeraMask> RN component (registered as native component
6
+ * "LumeraMaskView"). It exposes a single `masked` prop and returns a LumeraMaskView,
7
+ * which (un)registers its reactTag with the capture engine on mount/unmount.
8
+ *
9
+ * The package's codegenConfig is `type: "modules"` (TurboModule only — no Fabric
10
+ * component spec), so this legacy RCTViewManager is the right minimal surface: RN's
11
+ * view interop layer bridges it under both the old and new architectures.
12
+ */
13
+ @interface LumeraMaskViewManager : RCTViewManager
14
+ @end
15
+
16
+ @implementation LumeraMaskViewManager
17
+
18
+ RCT_EXPORT_MODULE(LumeraMaskView)
19
+
20
+ RCT_EXPORT_VIEW_PROPERTY(masked, BOOL)
21
+
22
+ + (BOOL)requiresMainQueueSetup { return NO; }
23
+
24
+ - (UIView *)view
25
+ {
26
+ return [LumeraMaskView new];
27
+ }
28
+
29
+ @end