Bläddra i källkod

Renamed mac test app

Tom Underhill 5 år sedan
förälder
incheckning
fe4e14e51a

+ 4
- 1
example/.gitignore Visa fil

20
 *.hmap
20
 *.hmap
21
 *.ipa
21
 *.ipa
22
 *.xcuserstate
22
 *.xcuserstate
23
-project.xcworkspace
23
+# exclude project.xcworkspace except for xcshareddata/WorkspaceSettings.xcsettings
24
+project.xcworkspace/*
25
+**/project.xcworkspace/contents.xcworkspacedata
26
+**/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
24
 
27
 
25
 # Android/IntelliJ
28
 # Android/IntelliJ
26
 #
29
 #

example/macos/RNCWebViewExample-macOS/AppDelegate.h → example/macos/example-macOS/AppDelegate.h Visa fil


example/macos/RNCWebViewExample-macOS/AppDelegate.m → example/macos/example-macOS/AppDelegate.m Visa fil


example/macos/RNCWebViewExample-macOS/Info.plist → example/macos/example-macOS/Info.plist Visa fil


example/macos/RNCWebViewExample-macOS/Main.storyboard → example/macos/example-macOS/Main.storyboard Visa fil

679
         <scene sceneID="R2V-B0-nI4">
679
         <scene sceneID="R2V-B0-nI4">
680
             <objects>
680
             <objects>
681
                 <windowController id="B8D-0N-5wS" sceneMemberID="viewController">
681
                 <windowController id="B8D-0N-5wS" sceneMemberID="viewController">
682
-                    <window key="window" title="RNCWebViewExample macOS" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
682
+                    <window key="window" title="example macOS" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
683
                         <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
683
                         <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
684
                         <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
684
                         <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
685
                         <rect key="contentRect" x="196" y="240" width="480" height="270"/>
685
                         <rect key="contentRect" x="196" y="240" width="480" height="270"/>

example/macos/RNCWebViewExample-macOS/ViewController.h → example/macos/example-macOS/ViewController.h Visa fil


example/macos/RNCWebViewExample-macOS/ViewController.m → example/macos/example-macOS/ViewController.m Visa fil

16
   [super viewDidLoad];
16
   [super viewDidLoad];
17
 
17
 
18
   RCTBridge *bridge = [((AppDelegate *)[NSApp delegate])bridge];
18
   RCTBridge *bridge = [((AppDelegate *)[NSApp delegate])bridge];
19
-  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"RNCWebViewExample" initialProperties:nil];
19
+  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"example" initialProperties:nil];
20
 
20
 
21
   NSView *view = [self view];
21
   NSView *view = [self view];
22
 
22
 

example/macos/RNCWebViewExample-macOS/main.m → example/macos/example-macOS/main.m Visa fil


example/macos/RNCWebViewExample.xcodeproj/project.pbxproj → example/macos/example.xcodeproj/project.pbxproj Visa fil

454
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
454
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
455
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
455
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
456
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
456
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../../node_modules/react-native-macos/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
457
-		13B07F961A680F5B00A75B9A /* RNCWebViewExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNCWebViewExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
458
-		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNCWebViewExample/AppDelegate.h; sourceTree = "<group>"; };
459
-		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNCWebViewExample/AppDelegate.m; sourceTree = "<group>"; };
457
+		13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
458
+		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = "<group>"; };
459
+		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = "<group>"; };
460
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
460
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
461
-		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNCWebViewExample/Images.xcassets; sourceTree = "<group>"; };
462
-		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNCWebViewExample/Info.plist; sourceTree = "<group>"; };
463
-		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNCWebViewExample/main.m; sourceTree = "<group>"; };
461
+		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = "<group>"; };
462
+		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = "<group>"; };
463
+		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = "<group>"; };
464
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../../node_modules/react-native-macos/React/React.xcodeproj"; sourceTree = "<group>"; };
464
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../../node_modules/react-native-macos/React/React.xcodeproj"; sourceTree = "<group>"; };
465
 		2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
465
 		2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
466
-		38C1417223BBE33000902604 /* RNCWebViewExample-macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNCWebViewExample-macOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
467
-		38C141D123BBE33000902604 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = "RNCWebViewExample-macOS/Info.plist"; sourceTree = "<absolute>"; };
466
+		38C1417223BBE33000902604 /* example-macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-macOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
467
+		38C141D123BBE33000902604 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = "example-macOS/Info.plist"; sourceTree = "<absolute>"; };
468
 		38C1421523BBE5B500902604 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
468
 		38C1421523BBE5B500902604 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
469
 		38C1421723BBE65C00902604 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
469
 		38C1421723BBE65C00902604 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
470
 		38C1421923BBE66C00902604 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
470
 		38C1421923BBE66C00902604 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
579
 			name = Products;
579
 			name = Products;
580
 			sourceTree = "<group>";
580
 			sourceTree = "<group>";
581
 		};
581
 		};
582
-		13B07FAE1A68108700A75B9A /* RNCWebViewExample */ = {
582
+		13B07FAE1A68108700A75B9A /* example */ = {
583
 			isa = PBXGroup;
583
 			isa = PBXGroup;
584
 			children = (
584
 			children = (
585
 				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
585
 				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
590
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
590
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
591
 				13B07FB71A68108700A75B9A /* main.m */,
591
 				13B07FB71A68108700A75B9A /* main.m */,
592
 			);
592
 			);
593
-			name = RNCWebViewExample;
593
+			name = example;
594
 			sourceTree = "<group>";
594
 			sourceTree = "<group>";
595
 		};
595
 		};
596
 		146834001AC3E56700842450 /* Products */ = {
596
 		146834001AC3E56700842450 /* Products */ = {
635
 			name = Frameworks;
635
 			name = Frameworks;
636
 			sourceTree = "<group>";
636
 			sourceTree = "<group>";
637
 		};
637
 		};
638
-		38C141D223BBE3E600902604 /* RNCWebViewExample-macOS */ = {
638
+		38C141D223BBE3E600902604 /* example-macOS */ = {
639
 			isa = PBXGroup;
639
 			isa = PBXGroup;
640
 			children = (
640
 			children = (
641
 				38C141D123BBE33000902604 /* Info.plist */,
641
 				38C141D123BBE33000902604 /* Info.plist */,
646
 				38C1421B23BBE70D00902604 /* ViewController.m */,
646
 				38C1421B23BBE70D00902604 /* ViewController.m */,
647
 				38C1422123BBE98D00902604 /* Main.storyboard */,
647
 				38C1422123BBE98D00902604 /* Main.storyboard */,
648
 			);
648
 			);
649
-			path = "RNCWebViewExample-macOS";
649
+			path = "example-macOS";
650
 			sourceTree = "<group>";
650
 			sourceTree = "<group>";
651
 		};
651
 		};
652
 		3DC5395B220F2C940035D3A3 /* Products */ = {
652
 		3DC5395B220F2C940035D3A3 /* Products */ = {
710
 			isa = PBXGroup;
710
 			isa = PBXGroup;
711
 			children = (
711
 			children = (
712
 				3DC5395A220F2C940035D3A3 /* RNCWebView.xcodeproj */,
712
 				3DC5395A220F2C940035D3A3 /* RNCWebView.xcodeproj */,
713
-				13B07FAE1A68108700A75B9A /* RNCWebViewExample */,
714
-				38C141D223BBE3E600902604 /* RNCWebViewExample-macOS */,
713
+				13B07FAE1A68108700A75B9A /* example */,
714
+				38C141D223BBE3E600902604 /* example-macOS */,
715
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
715
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
716
 				83CBBA001A601CBA00E9B192 /* Products */,
716
 				83CBBA001A601CBA00E9B192 /* Products */,
717
 				2D16E6871FA4F8E400B85C8A /* Frameworks */,
717
 				2D16E6871FA4F8E400B85C8A /* Frameworks */,
724
 		83CBBA001A601CBA00E9B192 /* Products */ = {
724
 		83CBBA001A601CBA00E9B192 /* Products */ = {
725
 			isa = PBXGroup;
725
 			isa = PBXGroup;
726
 			children = (
726
 			children = (
727
-				13B07F961A680F5B00A75B9A /* RNCWebViewExample.app */,
728
-				38C1417223BBE33000902604 /* RNCWebViewExample-macOS.app */,
727
+				13B07F961A680F5B00A75B9A /* example.app */,
728
+				38C1417223BBE33000902604 /* example-macOS.app */,
729
 			);
729
 			);
730
 			name = Products;
730
 			name = Products;
731
 			sourceTree = "<group>";
731
 			sourceTree = "<group>";
743
 /* End PBXGroup section */
743
 /* End PBXGroup section */
744
 
744
 
745
 /* Begin PBXNativeTarget section */
745
 /* Begin PBXNativeTarget section */
746
-		13B07F861A680F5B00A75B9A /* RNCWebViewExample */ = {
746
+		13B07F861A680F5B00A75B9A /* example */ = {
747
 			isa = PBXNativeTarget;
747
 			isa = PBXNativeTarget;
748
-			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNCWebViewExample" */;
748
+			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
749
 			buildPhases = (
749
 			buildPhases = (
750
 				13B07F871A680F5B00A75B9A /* Sources */,
750
 				13B07F871A680F5B00A75B9A /* Sources */,
751
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
751
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
757
 			dependencies = (
757
 			dependencies = (
758
 				1990B95222398FC4009E5EA1 /* PBXTargetDependency */,
758
 				1990B95222398FC4009E5EA1 /* PBXTargetDependency */,
759
 			);
759
 			);
760
-			name = RNCWebViewExample;
760
+			name = example;
761
 			productName = "Hello World";
761
 			productName = "Hello World";
762
-			productReference = 13B07F961A680F5B00A75B9A /* RNCWebViewExample.app */;
762
+			productReference = 13B07F961A680F5B00A75B9A /* example.app */;
763
 			productType = "com.apple.product-type.application";
763
 			productType = "com.apple.product-type.application";
764
 		};
764
 		};
765
-		38C1415723BBE33000902604 /* RNCWebViewExample-macOS */ = {
765
+		38C1415723BBE33000902604 /* example-macOS */ = {
766
 			isa = PBXNativeTarget;
766
 			isa = PBXNativeTarget;
767
-			buildConfigurationList = 38C1416F23BBE33000902604 /* Build configuration list for PBXNativeTarget "RNCWebViewExample-macOS" */;
767
+			buildConfigurationList = 38C1416F23BBE33000902604 /* Build configuration list for PBXNativeTarget "example-macOS" */;
768
 			buildPhases = (
768
 			buildPhases = (
769
 				38C1415A23BBE33000902604 /* Sources */,
769
 				38C1415A23BBE33000902604 /* Sources */,
770
 				38C1415D23BBE33000902604 /* Frameworks */,
770
 				38C1415D23BBE33000902604 /* Frameworks */,
776
 			dependencies = (
776
 			dependencies = (
777
 				38116A6F23BBED1000ACE311 /* PBXTargetDependency */,
777
 				38116A6F23BBED1000ACE311 /* PBXTargetDependency */,
778
 			);
778
 			);
779
-			name = "RNCWebViewExample-macOS";
779
+			name = "example-macOS";
780
 			productName = "Hello World";
780
 			productName = "Hello World";
781
-			productReference = 38C1417223BBE33000902604 /* RNCWebViewExample-macOS.app */;
781
+			productReference = 38C1417223BBE33000902604 /* example-macOS.app */;
782
 			productType = "com.apple.product-type.application";
782
 			productType = "com.apple.product-type.application";
783
 		};
783
 		};
784
 /* End PBXNativeTarget section */
784
 /* End PBXNativeTarget section */
790
 				LastUpgradeCheck = 0940;
790
 				LastUpgradeCheck = 0940;
791
 				ORGANIZATIONNAME = Facebook;
791
 				ORGANIZATIONNAME = Facebook;
792
 			};
792
 			};
793
-			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNCWebViewExample" */;
793
+			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
794
 			compatibilityVersion = "Xcode 3.2";
794
 			compatibilityVersion = "Xcode 3.2";
795
 			developmentRegion = English;
795
 			developmentRegion = English;
796
 			hasScannedForEncodings = 0;
796
 			hasScannedForEncodings = 0;
854
 			);
854
 			);
855
 			projectRoot = "";
855
 			projectRoot = "";
856
 			targets = (
856
 			targets = (
857
-				13B07F861A680F5B00A75B9A /* RNCWebViewExample */,
858
-				38C1415723BBE33000902604 /* RNCWebViewExample-macOS */,
857
+				13B07F861A680F5B00A75B9A /* example */,
858
+				38C1415723BBE33000902604 /* example-macOS */,
859
 			);
859
 			);
860
 		};
860
 		};
861
 /* End PBXProject section */
861
 /* End PBXProject section */
1348
 				13B07FB21A68108700A75B9A /* Base */,
1348
 				13B07FB21A68108700A75B9A /* Base */,
1349
 			);
1349
 			);
1350
 			name = LaunchScreen.xib;
1350
 			name = LaunchScreen.xib;
1351
-			path = RNCWebViewExample;
1351
+			path = example;
1352
 			sourceTree = "<group>";
1352
 			sourceTree = "<group>";
1353
 		};
1353
 		};
1354
 /* End PBXVariantGroup section */
1354
 /* End PBXVariantGroup section */
1360
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1360
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1361
 				CURRENT_PROJECT_VERSION = 1;
1361
 				CURRENT_PROJECT_VERSION = 1;
1362
 				DEAD_CODE_STRIPPING = NO;
1362
 				DEAD_CODE_STRIPPING = NO;
1363
-				INFOPLIST_FILE = RNCWebViewExample/Info.plist;
1363
+				INFOPLIST_FILE = example/Info.plist;
1364
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1364
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1365
 				OTHER_LDFLAGS = (
1365
 				OTHER_LDFLAGS = (
1366
 					"$(inherited)",
1366
 					"$(inherited)",
1368
 					"-lc++",
1368
 					"-lc++",
1369
 				);
1369
 				);
1370
 				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1370
 				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1371
-				PRODUCT_NAME = RNCWebViewExample;
1371
+				PRODUCT_NAME = example;
1372
 				VERSIONING_SYSTEM = "apple-generic";
1372
 				VERSIONING_SYSTEM = "apple-generic";
1373
 			};
1373
 			};
1374
 			name = Debug;
1374
 			name = Debug;
1378
 			buildSettings = {
1378
 			buildSettings = {
1379
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1379
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1380
 				CURRENT_PROJECT_VERSION = 1;
1380
 				CURRENT_PROJECT_VERSION = 1;
1381
-				INFOPLIST_FILE = RNCWebViewExample/Info.plist;
1381
+				INFOPLIST_FILE = example/Info.plist;
1382
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1382
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1383
 				OTHER_LDFLAGS = (
1383
 				OTHER_LDFLAGS = (
1384
 					"$(inherited)",
1384
 					"$(inherited)",
1386
 					"-lc++",
1386
 					"-lc++",
1387
 				);
1387
 				);
1388
 				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1388
 				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1389
-				PRODUCT_NAME = RNCWebViewExample;
1389
+				PRODUCT_NAME = example;
1390
 				VERSIONING_SYSTEM = "apple-generic";
1390
 				VERSIONING_SYSTEM = "apple-generic";
1391
 			};
1391
 			};
1392
 			name = Release;
1392
 			name = Release;
1397
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1397
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1398
 				CURRENT_PROJECT_VERSION = 1;
1398
 				CURRENT_PROJECT_VERSION = 1;
1399
 				DEAD_CODE_STRIPPING = NO;
1399
 				DEAD_CODE_STRIPPING = NO;
1400
-				INFOPLIST_FILE = "RNCWebViewExample-macos/Info.plist";
1400
+				INFOPLIST_FILE = "example-macos/Info.plist";
1401
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1401
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1402
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
1402
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
1403
 				OTHER_LDFLAGS = (
1403
 				OTHER_LDFLAGS = (
1418
 			buildSettings = {
1418
 			buildSettings = {
1419
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1419
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1420
 				CURRENT_PROJECT_VERSION = 1;
1420
 				CURRENT_PROJECT_VERSION = 1;
1421
-				INFOPLIST_FILE = "RNCWebViewExample-macos/Info.plist";
1421
+				INFOPLIST_FILE = "example-macos/Info.plist";
1422
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1422
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1423
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
1423
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
1424
 				OTHER_LDFLAGS = (
1424
 				OTHER_LDFLAGS = (
1536
 /* End XCBuildConfiguration section */
1536
 /* End XCBuildConfiguration section */
1537
 
1537
 
1538
 /* Begin XCConfigurationList section */
1538
 /* Begin XCConfigurationList section */
1539
-		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNCWebViewExample" */ = {
1539
+		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
1540
 			isa = XCConfigurationList;
1540
 			isa = XCConfigurationList;
1541
 			buildConfigurations = (
1541
 			buildConfigurations = (
1542
 				13B07F941A680F5B00A75B9A /* Debug */,
1542
 				13B07F941A680F5B00A75B9A /* Debug */,
1545
 			defaultConfigurationIsVisible = 0;
1545
 			defaultConfigurationIsVisible = 0;
1546
 			defaultConfigurationName = Release;
1546
 			defaultConfigurationName = Release;
1547
 		};
1547
 		};
1548
-		38C1416F23BBE33000902604 /* Build configuration list for PBXNativeTarget "RNCWebViewExample-macOS" */ = {
1548
+		38C1416F23BBE33000902604 /* Build configuration list for PBXNativeTarget "example-macOS" */ = {
1549
 			isa = XCConfigurationList;
1549
 			isa = XCConfigurationList;
1550
 			buildConfigurations = (
1550
 			buildConfigurations = (
1551
 				38C1417023BBE33000902604 /* Debug */,
1551
 				38C1417023BBE33000902604 /* Debug */,
1554
 			defaultConfigurationIsVisible = 0;
1554
 			defaultConfigurationIsVisible = 0;
1555
 			defaultConfigurationName = Release;
1555
 			defaultConfigurationName = Release;
1556
 		};
1556
 		};
1557
-		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNCWebViewExample" */ = {
1557
+		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = {
1558
 			isa = XCConfigurationList;
1558
 			isa = XCConfigurationList;
1559
 			buildConfigurations = (
1559
 			buildConfigurations = (
1560
 				83CBBA201A601CBA00E9B192 /* Debug */,
1560
 				83CBBA201A601CBA00E9B192 /* Debug */,

+ 10
- 0
example/macos/example.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings Visa fil

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+<dict>
5
+	<key>BuildSystemType</key>
6
+	<string>Original</string>
7
+	<key>PreviewsEnabled</key>
8
+	<false/>
9
+</dict>
10
+</plist>

example/macos/RNCWebViewExample.xcodeproj/xcshareddata/xcschemes/RNCWebViewExample-macOS.xcscheme → example/macos/example.xcodeproj/xcshareddata/xcschemes/example-macOS.xcscheme Visa fil

4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
       parallelizeBuildables = "NO"
6
       parallelizeBuildables = "NO"
7
-      buildImplicitDependencies = "NO">
7
+      buildImplicitDependencies = "YES">
8
       <BuildActionEntries>
8
       <BuildActionEntries>
9
+         <BuildActionEntry
10
+            buildForTesting = "YES"
11
+            buildForRunning = "YES"
12
+            buildForProfiling = "YES"
13
+            buildForArchiving = "YES"
14
+            buildForAnalyzing = "YES">
15
+            <BuildableReference
16
+               BuildableIdentifier = "primary"
17
+               BlueprintIdentifier = "6B857DA21EC51FC600A9D063"
18
+               BuildableName = "libReact.a"
19
+               BlueprintName = "React-macOS"
20
+               ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj">
21
+            </BuildableReference>
22
+         </BuildActionEntry>
9
          <BuildActionEntry
23
          <BuildActionEntry
10
             buildForTesting = "YES"
24
             buildForTesting = "YES"
11
             buildForRunning = "YES"
25
             buildForRunning = "YES"
15
             <BuildableReference
29
             <BuildableReference
16
                BuildableIdentifier = "primary"
30
                BuildableIdentifier = "primary"
17
                BlueprintIdentifier = "38C1415723BBE33000902604"
31
                BlueprintIdentifier = "38C1415723BBE33000902604"
18
-               BuildableName = "RNCWebViewExample-macOS.app"
19
-               BlueprintName = "RNCWebViewExample-macOS"
20
-               ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
32
+               BuildableName = "example-macOS.app"
33
+               BlueprintName = "example-macOS"
34
+               ReferencedContainer = "container:example.xcodeproj">
21
             </BuildableReference>
35
             </BuildableReference>
22
          </BuildActionEntry>
36
          </BuildActionEntry>
23
       </BuildActionEntries>
37
       </BuildActionEntries>
45
          <BuildableReference
59
          <BuildableReference
46
             BuildableIdentifier = "primary"
60
             BuildableIdentifier = "primary"
47
             BlueprintIdentifier = "38C1415723BBE33000902604"
61
             BlueprintIdentifier = "38C1415723BBE33000902604"
48
-            BuildableName = "RNCWebViewExample-macOS.app"
49
-            BlueprintName = "RNCWebViewExample-macOS"
50
-            ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
62
+            BuildableName = "example-macOS.app"
63
+            BlueprintName = "example-macOS"
64
+            ReferencedContainer = "container:example.xcodeproj">
51
          </BuildableReference>
65
          </BuildableReference>
52
       </BuildableProductRunnable>
66
       </BuildableProductRunnable>
53
    </LaunchAction>
67
    </LaunchAction>
62
          <BuildableReference
76
          <BuildableReference
63
             BuildableIdentifier = "primary"
77
             BuildableIdentifier = "primary"
64
             BlueprintIdentifier = "38C1415723BBE33000902604"
78
             BlueprintIdentifier = "38C1415723BBE33000902604"
65
-            BuildableName = "RNCWebViewExample-macOS.app"
66
-            BlueprintName = "RNCWebViewExample-macOS"
67
-            ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
79
+            BuildableName = "example-macOS.app"
80
+            BlueprintName = "example-macOS"
81
+            ReferencedContainer = "container:example.xcodeproj">
68
          </BuildableReference>
82
          </BuildableReference>
69
       </BuildableProductRunnable>
83
       </BuildableProductRunnable>
70
    </ProfileAction>
84
    </ProfileAction>

example/macos/RNCWebViewExample.xcodeproj/xcshareddata/xcschemes/RNCWebViewExample.xcscheme → example/macos/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme Visa fil

3
    LastUpgradeVersion = "1120"
3
    LastUpgradeVersion = "1120"
4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
-      parallelizeBuildables = "YES"
6
+      parallelizeBuildables = "NO"
7
       buildImplicitDependencies = "YES">
7
       buildImplicitDependencies = "YES">
8
       <BuildActionEntries>
8
       <BuildActionEntries>
9
+         <BuildActionEntry
10
+            buildForTesting = "YES"
11
+            buildForRunning = "YES"
12
+            buildForProfiling = "YES"
13
+            buildForArchiving = "YES"
14
+            buildForAnalyzing = "YES">
15
+            <BuildableReference
16
+               BuildableIdentifier = "primary"
17
+               BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
18
+               BuildableName = "libReact.a"
19
+               BlueprintName = "React"
20
+               ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj">
21
+            </BuildableReference>
22
+         </BuildActionEntry>
9
          <BuildActionEntry
23
          <BuildActionEntry
10
             buildForTesting = "YES"
24
             buildForTesting = "YES"
11
             buildForRunning = "YES"
25
             buildForRunning = "YES"
15
             <BuildableReference
29
             <BuildableReference
16
                BuildableIdentifier = "primary"
30
                BuildableIdentifier = "primary"
17
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
31
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
-               BuildableName = "RNCWebViewExample.app"
19
-               BlueprintName = "RNCWebViewExample"
20
-               ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
32
+               BuildableName = "example.app"
33
+               BlueprintName = "example"
34
+               ReferencedContainer = "container:example.xcodeproj">
21
             </BuildableReference>
35
             </BuildableReference>
22
          </BuildActionEntry>
36
          </BuildActionEntry>
23
       </BuildActionEntries>
37
       </BuildActionEntries>
45
          <BuildableReference
59
          <BuildableReference
46
             BuildableIdentifier = "primary"
60
             BuildableIdentifier = "primary"
47
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
61
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
48
-            BuildableName = "RNCWebViewExample.app"
49
-            BlueprintName = "RNCWebViewExample"
50
-            ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
62
+            BuildableName = "example.app"
63
+            BlueprintName = "example"
64
+            ReferencedContainer = "container:example.xcodeproj">
51
          </BuildableReference>
65
          </BuildableReference>
52
       </BuildableProductRunnable>
66
       </BuildableProductRunnable>
53
    </LaunchAction>
67
    </LaunchAction>
62
          <BuildableReference
76
          <BuildableReference
63
             BuildableIdentifier = "primary"
77
             BuildableIdentifier = "primary"
64
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
78
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
65
-            BuildableName = "RNCWebViewExample.app"
66
-            BlueprintName = "RNCWebViewExample"
67
-            ReferencedContainer = "container:RNCWebViewExample.xcodeproj">
79
+            BuildableName = "example.app"
80
+            BlueprintName = "example"
81
+            ReferencedContainer = "container:example.xcodeproj">
68
          </BuildableReference>
82
          </BuildableReference>
69
       </BuildableProductRunnable>
83
       </BuildableProductRunnable>
70
    </ProfileAction>
84
    </ProfileAction>

example/macos/RNCWebViewExample/AppDelegate.h → example/macos/example/AppDelegate.h Visa fil

11
 @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
11
 @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
12
 
12
 
13
 @property (nonatomic, strong) UIWindow *window;
13
 @property (nonatomic, strong) UIWindow *window;
14
-@property (nonatomic, strong) NSMutableDictionary<NSString *, NSString *> *memoryStorage;
15
 
14
 
16
 @end
15
 @end

example/macos/RNCWebViewExample/AppDelegate.m → example/macos/example/AppDelegate.m Visa fil

8
 #import "AppDelegate.h"
8
 #import "AppDelegate.h"
9
 
9
 
10
 #import <React/RCTBridge.h>
10
 #import <React/RCTBridge.h>
11
-
12
 #import <React/RCTBundleURLProvider.h>
11
 #import <React/RCTBundleURLProvider.h>
13
-#import <React/RCTDevMenu.h>
14
 #import <React/RCTRootView.h>
12
 #import <React/RCTRootView.h>
15
 
13
 
16
-@implementation AppDelegate {
17
-  __weak RCTBridge *_bridge;
18
-}
14
+@implementation AppDelegate
19
 
15
 
20
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
21
 {
17
 {
22
   RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
18
   RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
23
   RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
19
   RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
24
-                                                   moduleName:@"RNCWebViewExample"
20
+                                                   moduleName:@"example"
25
                                             initialProperties:nil];
21
                                             initialProperties:nil];
26
 
22
 
27
-  rootView.backgroundColor = [UIColor blackColor];
23
+  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28
 
24
 
29
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
25
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30
   UIViewController *rootViewController = [UIViewController new];
26
   UIViewController *rootViewController = [UIViewController new];
36
 
32
 
37
 - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
33
 - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
38
 {
34
 {
39
-  #if DEBUG
40
-    return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:nil];
41
-  #else
42
-    return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
43
-  #endif
35
+#if DEBUG
36
+  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:nil];
37
+#else
38
+  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
39
+#endif
44
 }
40
 }
45
 
41
 
46
 @end
42
 @end

example/macos/RNCWebViewExample/Base.lproj/LaunchScreen.xib → example/macos/example/Base.lproj/LaunchScreen.xib Visa fil

18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
                     <nil key="highlightedColor"/>
19
                     <nil key="highlightedColor"/>
20
                 </label>
20
                 </label>
21
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="RNCWebViewExample" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
21
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
22
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
22
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>

example/macos/RNCWebViewExample/Images.xcassets/AppIcon.appiconset/Contents.json → example/macos/example/Images.xcassets/AppIcon.appiconset/Contents.json Visa fil


example/macos/RNCWebViewExample/Images.xcassets/Contents.json → example/macos/example/Images.xcassets/Contents.json Visa fil


example/macos/RNCWebViewExample/Info.plist → example/macos/example/Info.plist Visa fil

5
 	<key>CFBundleDevelopmentRegion</key>
5
 	<key>CFBundleDevelopmentRegion</key>
6
 	<string>en</string>
6
 	<string>en</string>
7
 	<key>CFBundleDisplayName</key>
7
 	<key>CFBundleDisplayName</key>
8
-	<string>RNCWebViewExample</string>
8
+	<string>example</string>
9
 	<key>CFBundleExecutable</key>
9
 	<key>CFBundleExecutable</key>
10
 	<string>$(EXECUTABLE_NAME)</string>
10
 	<string>$(EXECUTABLE_NAME)</string>
11
 	<key>CFBundleIdentifier</key>
11
 	<key>CFBundleIdentifier</key>
20
 	<string>1.0</string>
20
 	<string>1.0</string>
21
 	<key>CFBundleSignature</key>
21
 	<key>CFBundleSignature</key>
22
 	<string>????</string>
22
 	<string>????</string>
23
-	<key>CFBundleURLTypes</key>
24
-	<array>
25
-		<dict>
26
-			<key>CFBundleTypeRole</key>
27
-			<string>Editor</string>
28
-			<key>CFBundleURLName</key>
29
-			<string>org.reactjs.native.example.RNCWebViewExample</string>
30
-			<key>CFBundleURLSchemes</key>
31
-			<array>
32
-				<string>rnc-webview</string>
33
-			</array>
34
-		</dict>
35
-	</array>
36
 	<key>CFBundleVersion</key>
23
 	<key>CFBundleVersion</key>
37
 	<string>1</string>
24
 	<string>1</string>
38
 	<key>LSRequiresIPhoneOS</key>
25
 	<key>LSRequiresIPhoneOS</key>

example/macos/RNCWebViewExample/main.m → example/macos/example/main.m Visa fil


+ 29
- 29
macos/RNCWebView.xcodeproj/project.pbxproj Visa fil

7
 	objects = {
7
 	objects = {
8
 
8
 
9
 /* Begin PBXBuildFile section */
9
 /* Begin PBXBuildFile section */
10
-		3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
11
-		38116A2B23BBECB700ACE311 /* RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* RNCWebViewManager.m */; };
12
-		38116A2C23BBECB700ACE311 /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
13
-		38116A2D23BBECB700ACE311 /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
14
-		E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* RNCWebViewManager.m */; };
15
-		E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
10
+		3515965E21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */; };
11
+		38116A2B23BBECB700ACE311 /* ../ios/RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */; };
12
+		38116A2C23BBECB700ACE311 /* ../ios/RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */; };
13
+		38116A2D23BBECB700ACE311 /* ../ios/RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */; };
14
+		E91B351D21446E6C00F9801F /* ../ios/RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */; };
15
+		E91B351E21446E6C00F9801F /* ../ios/RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */; };
16
 /* End PBXBuildFile section */
16
 /* End PBXBuildFile section */
17
 
17
 
18
 /* Begin PBXCopyFilesBuildPhase section */
18
 /* Begin PBXCopyFilesBuildPhase section */
38
 
38
 
39
 /* Begin PBXFileReference section */
39
 /* Begin PBXFileReference section */
40
 		134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
40
 		134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
41
-		3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWKProcessPoolManager.m; sourceTree = "<group>"; };
42
-		3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWKProcessPoolManager.h; sourceTree = "<group>"; };
41
+		3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWKProcessPoolManager.m; sourceTree = "<group>"; };
42
+		3515965F21A3C87E00623BFA /* ../ios/RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWKProcessPoolManager.h; sourceTree = "<group>"; };
43
 		38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRNCWebView-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
43
 		38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRNCWebView-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
44
-		E91B351921446E6C00F9801F /* RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebViewManager.h; sourceTree = "<group>"; };
45
-		E91B351A21446E6C00F9801F /* RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebView.h; sourceTree = "<group>"; };
46
-		E91B351B21446E6C00F9801F /* RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebViewManager.m; sourceTree = "<group>"; };
47
-		E91B351C21446E6C00F9801F /* RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebView.m; sourceTree = "<group>"; };
44
+		E91B351921446E6C00F9801F /* ../ios/RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebViewManager.h; sourceTree = "<group>"; };
45
+		E91B351A21446E6C00F9801F /* ../ios/RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebView.h; sourceTree = "<group>"; };
46
+		E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebViewManager.m; sourceTree = "<group>"; };
47
+		E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebView.m; sourceTree = "<group>"; };
48
 /* End PBXFileReference section */
48
 /* End PBXFileReference section */
49
 
49
 
50
 /* Begin PBXFrameworksBuildPhase section */
50
 /* Begin PBXFrameworksBuildPhase section */
76
 		58B511D21A9E6C8500147676 = {
76
 		58B511D21A9E6C8500147676 = {
77
 			isa = PBXGroup;
77
 			isa = PBXGroup;
78
 			children = (
78
 			children = (
79
-				E91B351A21446E6C00F9801F /* RNCWebView.h */,
80
-				E91B351C21446E6C00F9801F /* RNCWebView.m */,
81
-				E91B351921446E6C00F9801F /* RNCWebViewManager.h */,
82
-				E91B351B21446E6C00F9801F /* RNCWebViewManager.m */,
83
-				3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
84
-				3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */,
79
+				E91B351A21446E6C00F9801F /* ../ios/RNCWebView.h */,
80
+				E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */,
81
+				E91B351921446E6C00F9801F /* ../ios/RNCWebViewManager.h */,
82
+				E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */,
83
+				3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */,
84
+				3515965F21A3C87E00623BFA /* ../ios/RNCWKProcessPoolManager.h */,
85
 				134814211AA4EA7D00B7C361 /* Products */,
85
 				134814211AA4EA7D00B7C361 /* Products */,
86
 				38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */,
86
 				38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */,
87
 			);
87
 			);
161
 			isa = PBXSourcesBuildPhase;
161
 			isa = PBXSourcesBuildPhase;
162
 			buildActionMask = 2147483647;
162
 			buildActionMask = 2147483647;
163
 			files = (
163
 			files = (
164
-				38116A2B23BBECB700ACE311 /* RNCWebViewManager.m in Sources */,
165
-				38116A2C23BBECB700ACE311 /* RNCWebView.m in Sources */,
166
-				38116A2D23BBECB700ACE311 /* RNCWKProcessPoolManager.m in Sources */,
164
+				38116A2B23BBECB700ACE311 /* ../ios/RNCWebViewManager.m in Sources */,
165
+				38116A2C23BBECB700ACE311 /* ../ios/RNCWebView.m in Sources */,
166
+				38116A2D23BBECB700ACE311 /* ../ios/RNCWKProcessPoolManager.m in Sources */,
167
 			);
167
 			);
168
 			runOnlyForDeploymentPostprocessing = 0;
168
 			runOnlyForDeploymentPostprocessing = 0;
169
 		};
169
 		};
171
 			isa = PBXSourcesBuildPhase;
171
 			isa = PBXSourcesBuildPhase;
172
 			buildActionMask = 2147483647;
172
 			buildActionMask = 2147483647;
173
 			files = (
173
 			files = (
174
-				E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */,
175
-				E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */,
176
-				3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */,
174
+				E91B351D21446E6C00F9801F /* ../ios/RNCWebViewManager.m in Sources */,
175
+				E91B351E21446E6C00F9801F /* ../ios/RNCWebView.m in Sources */,
176
+				3515965E21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m in Sources */,
177
 			);
177
 			);
178
 			runOnlyForDeploymentPostprocessing = 0;
178
 			runOnlyForDeploymentPostprocessing = 0;
179
 		};
179
 		};
183
 		38116A3123BBECB700ACE311 /* Debug */ = {
183
 		38116A3123BBECB700ACE311 /* Debug */ = {
184
 			isa = XCBuildConfiguration;
184
 			isa = XCBuildConfiguration;
185
 			buildSettings = {
185
 			buildSettings = {
186
-				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/**";
186
+				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/React/**";
187
 				HEADER_SEARCH_PATHS = (
187
 				HEADER_SEARCH_PATHS = (
188
 					"$(inherited)",
188
 					"$(inherited)",
189
-					"$(SRCROOT)/../node_modules/react-native/React/**",
189
+					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
190
 				);
190
 				);
191
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
191
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
192
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
192
 				MACOSX_DEPLOYMENT_TARGET = 10.14;
200
 		38116A3223BBECB700ACE311 /* Release */ = {
200
 		38116A3223BBECB700ACE311 /* Release */ = {
201
 			isa = XCBuildConfiguration;
201
 			isa = XCBuildConfiguration;
202
 			buildSettings = {
202
 			buildSettings = {
203
-				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/**";
203
+				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/React/**";
204
 				HEADER_SEARCH_PATHS = (
204
 				HEADER_SEARCH_PATHS = (
205
 					"$(inherited)",
205
 					"$(inherited)",
206
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
206
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
298
 		58B511F01A9E6C8500147676 /* Debug */ = {
298
 		58B511F01A9E6C8500147676 /* Debug */ = {
299
 			isa = XCBuildConfiguration;
299
 			isa = XCBuildConfiguration;
300
 			buildSettings = {
300
 			buildSettings = {
301
-				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/**";
301
+				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/React/**";
302
 				HEADER_SEARCH_PATHS = (
302
 				HEADER_SEARCH_PATHS = (
303
 					"$(inherited)",
303
 					"$(inherited)",
304
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
304
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
314
 		58B511F11A9E6C8500147676 /* Release */ = {
314
 		58B511F11A9E6C8500147676 /* Release */ = {
315
 			isa = XCBuildConfiguration;
315
 			isa = XCBuildConfiguration;
316
 			buildSettings = {
316
 			buildSettings = {
317
-				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/**";
317
+				FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-macos/React/**";
318
 				HEADER_SEARCH_PATHS = (
318
 				HEADER_SEARCH_PATHS = (
319
 					"$(inherited)",
319
 					"$(inherited)",
320
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",
320
 					"$(SRCROOT)/../node_modules/react-native-macos/React/**",

+ 1
- 1
package.json Visa fil

12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
13
   "scripts": {
13
   "scripts": {
14
     "start": "node node_modules/react-native/local-cli/cli.js start",
14
     "start": "node node_modules/react-native/local-cli/cli.js start",
15
-    "start-macos": "node node_modules/react-native-macos/local-cli/cli.js start --use-react-native-macos",
16
     "start:android": "react-native run-android --root example/",
15
     "start:android": "react-native run-android --root example/",
17
     "start:ios": "react-native run-ios --project-path example/ios --scheme example",
16
     "start:ios": "react-native run-ios --project-path example/ios --scheme example",
17
+    "start:macos": "node node_modules/react-native-macos/local-cli/cli.js start --use-react-native-macos",
18
     "ci": "CI=true && yarn lint && yarn test",
18
     "ci": "CI=true && yarn lint && yarn test",
19
     "ci:publish": "yarn semantic-release",
19
     "ci:publish": "yarn semantic-release",
20
     "lint": "yarn tsc --noEmit && yarn eslint ./src --ext .ts,.tsx",
20
     "lint": "yarn tsc --noEmit && yarn eslint ./src --ext .ts,.tsx",

+ 19
- 2
react-native.config.js Visa fil

1
+/**
2
+ * This cli config is needed for the coexistance of react-native and other
3
+ * out-of-tree implementations such react-native-macos.
4
+ * The following issue is tracked by
5
+ * https://github.com/react-native-community/discussions-and-proposals/issues/182
6
+ *
7
+ * The work-around involves having a metro.config.js for each out-of-tree
8
+ * platform, i.e. metro.config.js for react-native and 
9
+ * metro.config.macos.js for react-native-macos.
10
+ * This react-native.config.js looks for a --use-react-native-macos
11
+ * switch and when present pushes --config=metro.config.macos.js 
12
+ * and specifies reactNativePath: 'node_modules/react-native-macos'.
13
+ * The metro.config.js has to blacklist 'node_modules/react-native-macos', 
14
+ * and conversely metro.config.macos.js has to blacklist 'node_modules/react-native'.
15
+ */
1
 'use strict';
16
 'use strict';
2
 
17
 
3
-if (process.argv.includes('--use-react-native-macos')) {
4
-  process.argv = process.argv.filter(arg => arg !== '--use-react-native-macos');
18
+const macSwitch = '--use-react-native-macos';
19
+
20
+if (process.argv.includes(macSwitch)) {
21
+  process.argv = process.argv.filter(arg => arg !== macSwitch);
5
   process.argv.push('--config=metro.config.macos.js');
22
   process.argv.push('--config=metro.config.macos.js');
6
   module.exports = {
23
   module.exports = {
7
     reactNativePath: 'node_modules/react-native-macos',
24
     reactNativePath: 'node_modules/react-native-macos',

+ 126
- 1
yarn.lock Visa fil

6043
   dependencies:
6043
   dependencies:
6044
     "@babel/helper-module-imports" "^7.0.0"
6044
     "@babel/helper-module-imports" "^7.0.0"
6045
 
6045
 
6046
+metro-cache@0.54.1:
6047
+  version "0.54.1"
6048
+  resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.54.1.tgz#2e9017cbd11106837b8c385c9eb8c8175469a8c1"
6049
+  integrity sha512-RxCFoNcANHXZYi4MIQNnqh68gUnC3bMpzCFJY5pBoqqdrkkn8ibYglBweA0/DW7hx1OZTJWelwS1Dp8xxmE2CA==
6050
+  dependencies:
6051
+    jest-serializer "^24.4.0"
6052
+    metro-core "0.54.1"
6053
+    mkdirp "^0.5.1"
6054
+    rimraf "^2.5.4"
6055
+
6046
 metro-cache@^0.56.4:
6056
 metro-cache@^0.56.4:
6047
   version "0.56.4"
6057
   version "0.56.4"
6048
   resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.56.4.tgz#542f9f8a35f8fb9d5576f46fd3ab4d4f42851a7e"
6058
   resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.56.4.tgz#542f9f8a35f8fb9d5576f46fd3ab4d4f42851a7e"
6053
     mkdirp "^0.5.1"
6063
     mkdirp "^0.5.1"
6054
     rimraf "^2.5.4"
6064
     rimraf "^2.5.4"
6055
 
6065
 
6066
+metro-config@0.54.1, metro-config@^0.54.1:
6067
+  version "0.54.1"
6068
+  resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.54.1.tgz#808b4e17625d9f4e9afa34232778fdf8e63cc8dd"
6069
+  integrity sha512-FpxrA+63rGkPGvGI653dvuSreJzU+eOTILItVnnhmqwn2SAK5V00N/qGTOIJe2YIuWEFXwCzw9lXmANrXbwuGg==
6070
+  dependencies:
6071
+    cosmiconfig "^5.0.5"
6072
+    jest-validate "^24.7.0"
6073
+    metro "0.54.1"
6074
+    metro-cache "0.54.1"
6075
+    metro-core "0.54.1"
6076
+    pretty-format "^24.7.0"
6077
+
6056
 metro-config@^0.56.0, metro-config@^0.56.4:
6078
 metro-config@^0.56.0, metro-config@^0.56.4:
6057
   version "0.56.4"
6079
   version "0.56.4"
6058
   resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.56.4.tgz#338fd8165fba59424cec427c1a881757945e57e9"
6080
   resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.56.4.tgz#338fd8165fba59424cec427c1a881757945e57e9"
6065
     metro-core "^0.56.4"
6087
     metro-core "^0.56.4"
6066
     pretty-format "^24.7.0"
6088
     pretty-format "^24.7.0"
6067
 
6089
 
6090
+metro-core@0.54.1, metro-core@^0.54.1:
6091
+  version "0.54.1"
6092
+  resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.54.1.tgz#17f6ecc167918da8819d4af5726349e55714954b"
6093
+  integrity sha512-8oz3Ck7QFBzW9dG9tKFhrXHKPu2Ajx3R7eatf61Gl6Jf/tF7PNouv3wHxPsJW3oXDFiwKLszd89+OgleTGkB5g==
6094
+  dependencies:
6095
+    jest-haste-map "^24.7.1"
6096
+    lodash.throttle "^4.1.1"
6097
+    metro-resolver "0.54.1"
6098
+    wordwrap "^1.0.0"
6099
+
6068
 metro-core@^0.56.0, metro-core@^0.56.4:
6100
 metro-core@^0.56.0, metro-core@^0.56.4:
6069
   version "0.56.4"
6101
   version "0.56.4"
6070
   resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.56.4.tgz#67cc41b3c0bf66e9c2306f50239a1080b1e82312"
6102
   resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.56.4.tgz#67cc41b3c0bf66e9c2306f50239a1080b1e82312"
6075
     metro-resolver "^0.56.4"
6107
     metro-resolver "^0.56.4"
6076
     wordwrap "^1.0.0"
6108
     wordwrap "^1.0.0"
6077
 
6109
 
6110
+metro-inspector-proxy@0.54.1:
6111
+  version "0.54.1"
6112
+  resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.54.1.tgz#0ef48ee3feb11c6da47aa100151a9bf2a7c358ee"
6113
+  integrity sha512-sf6kNu7PgFW6U+hU7YGZfbAUKAPVvCJhY8YVu/A1RMKH9nNULrCo+jlWh0gWgmFfWRQiAPCElevROg+5somk8A==
6114
+  dependencies:
6115
+    connect "^3.6.5"
6116
+    debug "^2.2.0"
6117
+    rxjs "^5.4.3"
6118
+    ws "^1.1.5"
6119
+    yargs "^9.0.0"
6120
+
6078
 metro-inspector-proxy@^0.56.4:
6121
 metro-inspector-proxy@^0.56.4:
6079
   version "0.56.4"
6122
   version "0.56.4"
6080
   resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.56.4.tgz#7343ff3c5908af4fd99e96b6d646e24e99816be4"
6123
   resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.56.4.tgz#7343ff3c5908af4fd99e96b6d646e24e99816be4"
6086
     ws "^1.1.5"
6129
     ws "^1.1.5"
6087
     yargs "^9.0.0"
6130
     yargs "^9.0.0"
6088
 
6131
 
6132
+metro-minify-uglify@0.54.1:
6133
+  version "0.54.1"
6134
+  resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.54.1.tgz#54ed1cb349245ce82dba8cc662bbf69fbca142c3"
6135
+  integrity sha512-z+pOPna/8IxD4OhjW6Xo1mV2EszgqqQHqBm1FdmtdF6IpWkQp33qpDBNEi9NGZTOr7pp2bvcxZnvNJdC2lrK9Q==
6136
+  dependencies:
6137
+    uglify-es "^3.1.9"
6138
+
6089
 metro-minify-uglify@^0.56.4:
6139
 metro-minify-uglify@^0.56.4:
6090
   version "0.56.4"
6140
   version "0.56.4"
6091
   resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.56.4.tgz#13589dfb1d43343608aacb7f78ddfcc052daa63c"
6141
   resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.56.4.tgz#13589dfb1d43343608aacb7f78ddfcc052daa63c"
6176
     "@babel/template" "^7.0.0"
6226
     "@babel/template" "^7.0.0"
6177
     react-refresh "^0.4.0"
6227
     react-refresh "^0.4.0"
6178
 
6228
 
6179
-metro-react-native-babel-transformer@0.54.1:
6229
+metro-react-native-babel-transformer@0.54.1, metro-react-native-babel-transformer@^0.54.1:
6180
   version "0.54.1"
6230
   version "0.54.1"
6181
   resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.54.1.tgz#45b56db004421134e10e739f69e8de50775fef17"
6231
   resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.54.1.tgz#45b56db004421134e10e739f69e8de50775fef17"
6182
   integrity sha512-ECw7xG91t8dk/PHdiyoC5SP1s9OQzfmJzG5m0YOZaKtHMe534qTDbncxaKfTI3CP99yti2maXFBRVj+xyvph/g==
6232
   integrity sha512-ECw7xG91t8dk/PHdiyoC5SP1s9OQzfmJzG5m0YOZaKtHMe534qTDbncxaKfTI3CP99yti2maXFBRVj+xyvph/g==
6197
     metro-react-native-babel-preset "^0.56.4"
6247
     metro-react-native-babel-preset "^0.56.4"
6198
     metro-source-map "^0.56.4"
6248
     metro-source-map "^0.56.4"
6199
 
6249
 
6250
+metro-resolver@0.54.1:
6251
+  version "0.54.1"
6252
+  resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.54.1.tgz#0295b38624b678b88b16bf11d47288845132b087"
6253
+  integrity sha512-Byv1LIawYAASy9CFRwzrncYnqaFGLe8vpw178EtzStqP05Hu6hXSqkNTrfoXa+3V9bPFGCrVzFx2NY3gFp2btg==
6254
+  dependencies:
6255
+    absolute-path "^0.0.0"
6256
+
6200
 metro-resolver@^0.56.4:
6257
 metro-resolver@^0.56.4:
6201
   version "0.56.4"
6258
   version "0.56.4"
6202
   resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.56.4.tgz#9876f57bca37fd1bfcffd733541e2ee4a89fad7f"
6259
   resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.56.4.tgz#9876f57bca37fd1bfcffd733541e2ee4a89fad7f"
6204
   dependencies:
6261
   dependencies:
6205
     absolute-path "^0.0.0"
6262
     absolute-path "^0.0.0"
6206
 
6263
 
6264
+metro-source-map@0.54.1:
6265
+  version "0.54.1"
6266
+  resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.54.1.tgz#e17bad53c11978197d3c05c9168d799c2e04dcc5"
6267
+  integrity sha512-E9iSYMSUSq5qYi1R2hTQtxH4Mxjzfgr/jaSmQIWi7h3fG2P1qOZNNSzeaeUeTK+s2N/ksVlkcL5kMikol8CDrQ==
6268
+  dependencies:
6269
+    "@babel/traverse" "^7.0.0"
6270
+    "@babel/types" "^7.0.0"
6271
+    source-map "^0.5.6"
6272
+
6207
 metro-source-map@0.55.0, metro-source-map@^0.55.0:
6273
 metro-source-map@0.55.0, metro-source-map@^0.55.0:
6208
   version "0.55.0"
6274
   version "0.55.0"
6209
   resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.55.0.tgz#1f6289905f08277c398f2b9b9c13e7e0e5a6f540"
6275
   resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.55.0.tgz#1f6289905f08277c398f2b9b9c13e7e0e5a6f540"
6251
     through2 "^2.0.1"
6317
     through2 "^2.0.1"
6252
     vlq "^1.0.0"
6318
     vlq "^1.0.0"
6253
 
6319
 
6320
+metro@0.54.1, metro@^0.54.1:
6321
+  version "0.54.1"
6322
+  resolved "https://registry.yarnpkg.com/metro/-/metro-0.54.1.tgz#a629be00abee5a450a25a8f71c24745f70cc9b44"
6323
+  integrity sha512-6ODPT4mEo4FCpbExRNnQAcZmf1VeNvYOTMj2Na03FjGqhNODHhI2U/wF/Ul5gqTyJ2dVdkXeyvKW3gl/LrnJRg==
6324
+  dependencies:
6325
+    "@babel/core" "^7.0.0"
6326
+    "@babel/generator" "^7.0.0"
6327
+    "@babel/parser" "^7.0.0"
6328
+    "@babel/plugin-external-helpers" "^7.0.0"
6329
+    "@babel/template" "^7.0.0"
6330
+    "@babel/traverse" "^7.0.0"
6331
+    "@babel/types" "^7.0.0"
6332
+    absolute-path "^0.0.0"
6333
+    async "^2.4.0"
6334
+    babel-preset-fbjs "^3.1.2"
6335
+    buffer-crc32 "^0.2.13"
6336
+    chalk "^2.4.1"
6337
+    concat-stream "^1.6.0"
6338
+    connect "^3.6.5"
6339
+    debug "^2.2.0"
6340
+    denodeify "^1.2.1"
6341
+    eventemitter3 "^3.0.0"
6342
+    fbjs "^1.0.0"
6343
+    fs-extra "^1.0.0"
6344
+    graceful-fs "^4.1.3"
6345
+    image-size "^0.6.0"
6346
+    invariant "^2.2.4"
6347
+    jest-haste-map "^24.7.1"
6348
+    jest-worker "^24.6.0"
6349
+    json-stable-stringify "^1.0.1"
6350
+    lodash.throttle "^4.1.1"
6351
+    merge-stream "^1.0.1"
6352
+    metro-babel-register "0.54.1"
6353
+    metro-babel-transformer "0.54.1"
6354
+    metro-cache "0.54.1"
6355
+    metro-config "0.54.1"
6356
+    metro-core "0.54.1"
6357
+    metro-inspector-proxy "0.54.1"
6358
+    metro-minify-uglify "0.54.1"
6359
+    metro-react-native-babel-preset "0.54.1"
6360
+    metro-resolver "0.54.1"
6361
+    metro-source-map "0.54.1"
6362
+    mime-types "2.1.11"
6363
+    mkdirp "^0.5.1"
6364
+    node-fetch "^2.2.0"
6365
+    nullthrows "^1.1.0"
6366
+    react-transform-hmr "^1.0.4"
6367
+    resolve "^1.5.0"
6368
+    rimraf "^2.5.4"
6369
+    serialize-error "^2.1.0"
6370
+    source-map "^0.5.6"
6371
+    temp "0.8.3"
6372
+    throat "^4.1.0"
6373
+    wordwrap "^1.0.0"
6374
+    write-file-atomic "^1.2.0"
6375
+    ws "^1.1.5"
6376
+    xpipe "^1.0.5"
6377
+    yargs "^9.0.0"
6378
+
6254
 metro@^0.56.0, metro@^0.56.4:
6379
 metro@^0.56.0, metro@^0.56.4:
6255
   version "0.56.4"
6380
   version "0.56.4"
6256
   resolved "https://registry.yarnpkg.com/metro/-/metro-0.56.4.tgz#be7e1380ee6ac3552c25ead8098eab261029e4d7"
6381
   resolved "https://registry.yarnpkg.com/metro/-/metro-0.56.4.tgz#be7e1380ee6ac3552c25ead8098eab261029e4d7"