Browse Source

Fix project name and example project (#5)

Brent Vatne 5 years ago
parent
commit
e6accf21a9
3 changed files with 18 additions and 18 deletions
  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 View File

26
   pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
26
   pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
27
   pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'
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
 end
30
 end

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

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

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

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