Browse Source

Update iOS example

Mathieu Acthernoene 5 years ago
parent
commit
98e0d770a3

+ 9
- 2
example/ios/RNPermissionsExample.xcodeproj/project.pbxproj View File

125
 			attributes = {
125
 			attributes = {
126
 				LastUpgradeCheck = 0940;
126
 				LastUpgradeCheck = 0940;
127
 				ORGANIZATIONNAME = Facebook;
127
 				ORGANIZATIONNAME = Facebook;
128
+				TargetAttributes = {
129
+					13B07F861A680F5B00A75B9A = {
130
+						DevelopmentTeam = 745449BDR9;
131
+					};
132
+				};
128
 			};
133
 			};
129
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */;
134
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */;
130
 			compatibilityVersion = "Xcode 3.2";
135
 			compatibilityVersion = "Xcode 3.2";
247
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
252
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
248
 				CURRENT_PROJECT_VERSION = 1;
253
 				CURRENT_PROJECT_VERSION = 1;
249
 				DEAD_CODE_STRIPPING = NO;
254
 				DEAD_CODE_STRIPPING = NO;
255
+				DEVELOPMENT_TEAM = 745449BDR9;
250
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
256
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
251
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
257
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
252
 				OTHER_LDFLAGS = (
258
 				OTHER_LDFLAGS = (
254
 					"-ObjC",
260
 					"-ObjC",
255
 					"-lc++",
261
 					"-lc++",
256
 				);
262
 				);
257
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
263
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
258
 				PRODUCT_NAME = RNPermissionsExample;
264
 				PRODUCT_NAME = RNPermissionsExample;
259
 				VERSIONING_SYSTEM = "apple-generic";
265
 				VERSIONING_SYSTEM = "apple-generic";
260
 			};
266
 			};
266
 			buildSettings = {
272
 			buildSettings = {
267
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
273
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
268
 				CURRENT_PROJECT_VERSION = 1;
274
 				CURRENT_PROJECT_VERSION = 1;
275
+				DEVELOPMENT_TEAM = 745449BDR9;
269
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
276
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
270
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
277
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
271
 				OTHER_LDFLAGS = (
278
 				OTHER_LDFLAGS = (
273
 					"-ObjC",
280
 					"-ObjC",
274
 					"-lc++",
281
 					"-lc++",
275
 				);
282
 				);
276
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
283
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
277
 				PRODUCT_NAME = RNPermissionsExample;
284
 				PRODUCT_NAME = RNPermissionsExample;
278
 				VERSIONING_SYSTEM = "apple-generic";
285
 				VERSIONING_SYSTEM = "apple-generic";
279
 			};
286
 			};

+ 2
- 4
example/ios/RNPermissionsExample/Info.plist View File

53
 	<string>test</string>
53
 	<string>test</string>
54
 	<key>NSMicrophoneUsageDescription</key>
54
 	<key>NSMicrophoneUsageDescription</key>
55
 	<string>6.0</string>
55
 	<string>6.0</string>
56
+	<key>NSMotionUsageDescription</key>
57
+	<string>test</string>
56
 	<key>NSPhotoLibraryUsageDescription</key>
58
 	<key>NSPhotoLibraryUsageDescription</key>
57
 	<string>test</string>
59
 	<string>test</string>
58
 	<key>NSRemindersUsageDescription</key>
60
 	<key>NSRemindersUsageDescription</key>
59
 	<string>test</string>
61
 	<string>test</string>
60
 	<key>NSSpeechRecognitionUsageDescription</key>
62
 	<key>NSSpeechRecognitionUsageDescription</key>
61
 	<string>test</string>
63
 	<string>test</string>
62
-	<key>NSMotionUsageDescription</key>
63
-	<string>test</string>
64
 	<key>UIBackgroundModes</key>
64
 	<key>UIBackgroundModes</key>
65
 	<array>
65
 	<array>
66
 		<string>bluetooth-peripheral</string>
66
 		<string>bluetooth-peripheral</string>
76
 	<key>UISupportedInterfaceOrientations</key>
76
 	<key>UISupportedInterfaceOrientations</key>
77
 	<array>
77
 	<array>
78
 		<string>UIInterfaceOrientationPortrait</string>
78
 		<string>UIInterfaceOrientationPortrait</string>
79
-		<string>UIInterfaceOrientationLandscapeLeft</string>
80
-		<string>UIInterfaceOrientationLandscapeRight</string>
81
 	</array>
79
 	</array>
82
 	<key>UIViewControllerBasedStatusBarAppearance</key>
80
 	<key>UIViewControllerBasedStatusBarAppearance</key>
83
 	<false/>
81
 	<false/>