clintplay-react-native 0.1.0 → 0.2.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.
- package/README.md +1 -1
- package/android/src/main/java/digital/clint/clintplay/ClintplayRNModule.kt +1 -1
- package/dist/index.d.mts +154 -6
- package/dist/index.d.ts +154 -6
- package/dist/index.js +26 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -12
- package/dist/index.mjs.map +1 -1
- package/ios/ClintplayRN.mm +6 -1
- package/package.json +1 -1
package/ios/ClintplayRN.mm
CHANGED
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
#import <React/RCTBridgeModule.h>
|
|
12
12
|
#import <UIKit/UIKit.h>
|
|
13
13
|
|
|
14
|
+
@interface UIView (ClintplayNativeID)
|
|
15
|
+
- (NSString *)nativeID;
|
|
16
|
+
- (NSString *)nativeId;
|
|
17
|
+
@end
|
|
18
|
+
|
|
14
19
|
static UIWindow *FindKeyWindow(void) {
|
|
15
20
|
if (@available(iOS 13.0, *)) {
|
|
16
21
|
for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
|
|
@@ -278,7 +283,7 @@ static NSDictionary *SerializeView(UIView *view, NSInteger *nodeCounter, NSInteg
|
|
|
278
283
|
RCT_EXPORT_MODULE(ClintplayRN)
|
|
279
284
|
|
|
280
285
|
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getVersion) {
|
|
281
|
-
return @"0.
|
|
286
|
+
return @"0.2.0";
|
|
282
287
|
}
|
|
283
288
|
|
|
284
289
|
- (NSDictionary *)extractHierarchyDictionaryOnMainThread {
|
package/package.json
CHANGED