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.
@@ -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.1.0";
286
+ return @"0.2.0";
282
287
  }
283
288
 
284
289
  - (NSDictionary *)extractHierarchyDictionaryOnMainThread {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clintplay-react-native",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Clintplay React Native SDK — session capture for iOS and Android apps. Companion to clintplay-sdk (web).",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",