Sfoglia il codice sorgente

Fix project name and example project (#5)

Brent Vatne 5 anni fa
parent
commit
e6accf21a9
3 ha cambiato i file con 18 aggiunte e 18 eliminazioni
  1. 1
    1
      example/ios/Podfile
  2. 7
    7
      example/ios/Podfile.lock
  3. 10
    10
      ios/SafeAreaView.xcodeproj/project.pbxproj

+ 1
- 1
example/ios/Podfile Vedi File

@@ -26,5 +26,5 @@ target 'SafeAreaViewExample' do
26 26
   pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
27 27
   pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'
28 28
 
29
-  pod 'th3rdwave-safe-area-view', :path => '../../'
29
+  pod 'react-native-safe-area-context', :path => '../../'
30 30
 end

+ 7
- 7
example/ios/Podfile.lock Vedi File

@@ -56,6 +56,8 @@ PODS:
56 56
     - React-cxxreact (= 0.60.5)
57 57
     - React-jsi (= 0.60.5)
58 58
   - React-jsinspector (0.60.5)
59
+  - react-native-safe-area-context (0.3.3):
60
+    - React
59 61
   - React-RCTActionSheet (0.60.5):
60 62
     - React-Core (= 0.60.5)
61 63
   - React-RCTAnimation (0.60.5):
@@ -79,8 +81,6 @@ PODS:
79 81
     - React-Core (= 0.60.5)
80 82
   - React-RCTWebSocket (0.60.5):
81 83
     - React-Core (= 0.60.5)
82
-  - th3rdwave-safe-area-view (0.1.0):
83
-    - React
84 84
   - yoga (0.60.5.React)
85 85
 
86 86
 DEPENDENCIES:
@@ -94,6 +94,7 @@ DEPENDENCIES:
94 94
   - React-jsi (from `../../node_modules/react-native/ReactCommon/jsi`)
95 95
   - React-jsiexecutor (from `../../node_modules/react-native/ReactCommon/jsiexecutor`)
96 96
   - React-jsinspector (from `../../node_modules/react-native/ReactCommon/jsinspector`)
97
+  - react-native-safe-area-context (from `../../`)
97 98
   - React-RCTActionSheet (from `../../node_modules/react-native/Libraries/ActionSheetIOS`)
98 99
   - React-RCTAnimation (from `../../node_modules/react-native/Libraries/NativeAnimation`)
99 100
   - React-RCTBlob (from `../../node_modules/react-native/Libraries/Blob`)
@@ -104,7 +105,6 @@ DEPENDENCIES:
104 105
   - React-RCTText (from `../../node_modules/react-native/Libraries/Text`)
105 106
   - React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`)
106 107
   - React-RCTWebSocket (from `../../node_modules/react-native/Libraries/WebSocket`)
107
-  - th3rdwave-safe-area-view (from `../../`)
108 108
   - yoga (from `../../node_modules/react-native/ReactCommon/yoga`)
109 109
 
110 110
 SPEC REPOS:
@@ -132,6 +132,8 @@ EXTERNAL SOURCES:
132 132
     :path: "../../node_modules/react-native/ReactCommon/jsiexecutor"
133 133
   React-jsinspector:
134 134
     :path: "../../node_modules/react-native/ReactCommon/jsinspector"
135
+  react-native-safe-area-context:
136
+    :path: "../../"
135 137
   React-RCTActionSheet:
136 138
     :path: "../../node_modules/react-native/Libraries/ActionSheetIOS"
137 139
   React-RCTAnimation:
@@ -152,8 +154,6 @@ EXTERNAL SOURCES:
152 154
     :path: "../../node_modules/react-native/Libraries/Vibration"
153 155
   React-RCTWebSocket:
154 156
     :path: "../../node_modules/react-native/Libraries/WebSocket"
155
-  th3rdwave-safe-area-view:
156
-    :path: "../../"
157 157
   yoga:
158 158
     :path: "../../node_modules/react-native/ReactCommon/yoga"
159 159
 
@@ -169,6 +169,7 @@ SPEC CHECKSUMS:
169 169
   React-jsi: 4d8c9efb6312a9725b18d6fc818ffc103f60fec2
170 170
   React-jsiexecutor: 90ad2f9db09513fc763bc757fdc3c4ff8bde2a30
171 171
   React-jsinspector: e08662d1bf5b129a3d556eb9ea343a3f40353ae4
172
+  react-native-safe-area-context: 05fce11cf3a094304cb4cb8761a8f66f1bbaf0a0
172 173
   React-RCTActionSheet: b0f1ea83f4bf75fb966eae9bfc47b78c8d3efd90
173 174
   React-RCTAnimation: 359ba1b5690b1e87cc173558a78e82d35919333e
174 175
   React-RCTBlob: 5e2b55f76e9a1c7ae52b826923502ddc3238df24
@@ -179,9 +180,8 @@ SPEC CHECKSUMS:
179 180
   React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2
180 181
   React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0
181 182
   React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4
182
-  th3rdwave-safe-area-view: bce8cc315b0c93628ccbf4746cae562d04395e70
183 183
   yoga: 312528f5bbbba37b4dcea5ef00e8b4033fdd9411
184 184
 
185
-PODFILE CHECKSUM: 175c785535da0f80766a91718b506091f0821b36
185
+PODFILE CHECKSUM: fa1f01625d28901a0250cd8fa231599b0798e3d1
186 186
 
187 187
 COCOAPODS: 1.7.5

+ 10
- 10
ios/SafeAreaView.xcodeproj/project.pbxproj Vedi File

@@ -24,7 +24,7 @@
24 24
 /* End PBXCopyFilesBuildPhase section */
25 25
 
26 26
 /* Begin PBXFileReference section */
27
-		134814201AA4EA6300B7C361 /* libRNCNetInfo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCNetInfo.a; sourceTree = BUILT_PRODUCTS_DIR; };
27
+		134814201AA4EA6300B7C361 /* libRNCSafeAreaContext.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCSafeAreaContext.a; sourceTree = BUILT_PRODUCTS_DIR; };
28 28
 		19AC186B23048EBB0093B581 /* RNCSafeAreaView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNCSafeAreaView.h; path = SafeAreaView/RNCSafeAreaView.h; sourceTree = "<group>"; };
29 29
 		19AC186C23048EBB0093B581 /* RNCSafeAreaView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNCSafeAreaView.m; path = SafeAreaView/RNCSafeAreaView.m; sourceTree = "<group>"; };
30 30
 		C923EDBB220C2C1A00D3100F /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
@@ -45,7 +45,7 @@
45 45
 		134814211AA4EA7D00B7C361 /* Products */ = {
46 46
 			isa = PBXGroup;
47 47
 			children = (
48
-				134814201AA4EA6300B7C361 /* libRNCNetInfo.a */,
48
+				134814201AA4EA6300B7C361 /* libRNCSafeAreaContext.a */,
49 49
 			);
50 50
 			name = Products;
51 51
 			sourceTree = "<group>";
@@ -71,9 +71,9 @@
71 71
 /* End PBXGroup section */
72 72
 
73 73
 /* Begin PBXNativeTarget section */
74
-		58B511DA1A9E6C8500147676 /* RNCNetInfo */ = {
74
+		58B511DA1A9E6C8500147676 /* RNCSafeAreaContext */ = {
75 75
 			isa = PBXNativeTarget;
76
-			buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCNetInfo" */;
76
+			buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCSafeAreaContext" */;
77 77
 			buildPhases = (
78 78
 				58B511D71A9E6C8500147676 /* Sources */,
79 79
 				58B511D81A9E6C8500147676 /* Frameworks */,
@@ -83,9 +83,9 @@
83 83
 			);
84 84
 			dependencies = (
85 85
 			);
86
-			name = RNCNetInfo;
86
+			name = RNCSafeAreaContext;
87 87
 			productName = RCTDataManager;
88
-			productReference = 134814201AA4EA6300B7C361 /* libRNCNetInfo.a */;
88
+			productReference = 134814201AA4EA6300B7C361 /* libRNCSafeAreaContext.a */;
89 89
 			productType = "com.apple.product-type.library.static";
90 90
 		};
91 91
 /* End PBXNativeTarget section */
@@ -115,7 +115,7 @@
115 115
 			projectDirPath = "";
116 116
 			projectRoot = "";
117 117
 			targets = (
118
-				58B511DA1A9E6C8500147676 /* RNCNetInfo */,
118
+				58B511DA1A9E6C8500147676 /* RNCSafeAreaContext */,
119 119
 			);
120 120
 		};
121 121
 /* End PBXProject section */
@@ -242,7 +242,7 @@
242 242
 				);
243 243
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
244 244
 				OTHER_LDFLAGS = "-ObjC";
245
-				PRODUCT_NAME = RNCNetInfo;
245
+				PRODUCT_NAME = RNCSafeAreaContext;
246 246
 				SKIP_INSTALL = YES;
247 247
 			};
248 248
 			name = Debug;
@@ -258,7 +258,7 @@
258 258
 				);
259 259
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
260 260
 				OTHER_LDFLAGS = "-ObjC";
261
-				PRODUCT_NAME = RNCNetInfo;
261
+				PRODUCT_NAME = RNCSafeAreaContext;
262 262
 				SKIP_INSTALL = YES;
263 263
 			};
264 264
 			name = Release;
@@ -275,7 +275,7 @@
275 275
 			defaultConfigurationIsVisible = 0;
276 276
 			defaultConfigurationName = Release;
277 277
 		};
278
-		58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCNetInfo" */ = {
278
+		58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCSafeAreaContext" */ = {
279 279
 			isa = XCConfigurationList;
280 280
 			buildConfigurations = (
281 281
 				58B511F01A9E6C8500147676 /* Debug */,