uilib-native 5.0.0-snapshot.7386 → 5.0.0-snapshot.7392

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.
@@ -13,7 +13,11 @@
13
13
 
14
14
  #import "LNAnimatorTemp.h"
15
15
 
16
- #import "RNNAppDelegate.h"
16
+ #if __has_include(<React-RCTAppDelegate/RCTAppDelegate.h>)
17
+ #import <React-RCTAppDelegate/RCTAppDelegate.h>
18
+ #elif __has_include(<React_RCTAppDelegate/RCTAppDelegate.h>)
19
+ #import <React_RCTAppDelegate/RCTAppDelegate.h>
20
+ #endif
17
21
 
18
22
  #define kHlperViewTag 0x1f1f1f
19
23
 
@@ -145,7 +149,7 @@ RCT_EXPORT_METHOD(presentCustomInputComponent:(nonnull NSNumber*)inputFieldTag p
145
149
  UIView* inputField = [self.bridge.uiManager viewForReactTag:inputFieldTag];
146
150
  NSDictionary *initialProps = params[@"initialProps"];
147
151
 
148
- RNNAppDelegate* appDelegate = (RNNAppDelegate*)[UIApplication sharedApplication].delegate;
152
+ RCTAppDelegate* appDelegate = (RCTAppDelegate*)[UIApplication sharedApplication].delegate;
149
153
  UIView *rv = [appDelegate.rootViewFactory viewWithModuleName:params[@"component"]
150
154
  initialProperties:initialProps];
151
155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilib-native",
3
- "version": "5.0.0-snapshot.7386",
3
+ "version": "5.0.0-snapshot.7392",
4
4
  "homepage": "https://github.com/wix/react-native-ui-lib",
5
5
  "description": "uilib native components (separated from js components)",
6
6
  "main": "components/index",