Browse Source

Move files to new location. Add to array in permissions.ios.js

Peter Lau 6 years ago
parent
commit
390a8bde8d

permissions/RNPMotion.h → ios/Permissions/RNPMotion.h View File


permissions/RNPMotion.m → ios/Permissions/RNPMotion.m View File


+ 6
- 24
ios/ReactNativePermissions.xcodeproj/project.pbxproj View File

7
 	objects = {
7
 	objects = {
8
 
8
 
9
 /* Begin PBXBuildFile section */
9
 /* Begin PBXBuildFile section */
10
-		483383101FAB6115005D5777 /* RNPMotion.m in Sources */ = {isa = PBXBuildFile; fileRef = 4833830E1FAB6114005D5777 /* RNPMotion.m */; };
11
 		669581F71FE4416B008596CD /* RCTConvert+RNPStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */; };
10
 		669581F71FE4416B008596CD /* RCTConvert+RNPStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */; };
12
 		669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F51FE4416B008596CD /* ReactNativePermissions.m */; };
11
 		669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F51FE4416B008596CD /* ReactNativePermissions.m */; };
13
 		6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581FD1FE441A7008596CD /* RNPSpeechRecognition.m */; };
12
 		6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581FD1FE441A7008596CD /* RNPSpeechRecognition.m */; };
19
 		669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582071FE441A7008596CD /* RNPAudioVideo.m */; };
18
 		669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582071FE441A7008596CD /* RNPAudioVideo.m */; };
20
 		669582141FE441A8008596CD /* RNPContacts.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582081FE441A8008596CD /* RNPContacts.m */; };
19
 		669582141FE441A8008596CD /* RNPContacts.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582081FE441A8008596CD /* RNPContacts.m */; };
21
 		669582151FE441A8008596CD /* RNPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 6695820A1FE441A8008596CD /* RNPEvent.m */; };
20
 		669582151FE441A8008596CD /* RNPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 6695820A1FE441A8008596CD /* RNPEvent.m */; };
21
+		D0AD62322000657000D89898 /* RNPMotion.m in Sources */ = {isa = PBXBuildFile; fileRef = D0AD62312000657000D89898 /* RNPMotion.m */; };
22
 /* End PBXBuildFile section */
22
 /* End PBXBuildFile section */
23
 
23
 
24
 /* Begin PBXCopyFilesBuildPhase section */
24
 /* Begin PBXCopyFilesBuildPhase section */
34
 /* End PBXCopyFilesBuildPhase section */
34
 /* End PBXCopyFilesBuildPhase section */
35
 
35
 
36
 /* Begin PBXFileReference section */
36
 /* Begin PBXFileReference section */
37
-		4833830E1FAB6114005D5777 /* RNPMotion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNPMotion.m; path = permissions/RNPMotion.m; sourceTree = SOURCE_ROOT; };
38
-		4833830F1FAB6115005D5777 /* RNPMotion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNPMotion.h; path = permissions/RNPMotion.h; sourceTree = SOURCE_ROOT; };
39
 		669581F31FE4416B008596CD /* ReactNativePermissions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReactNativePermissions.h; sourceTree = "<group>"; };
37
 		669581F31FE4416B008596CD /* ReactNativePermissions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReactNativePermissions.h; sourceTree = "<group>"; };
40
 		669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+RNPStatus.m"; sourceTree = "<group>"; };
38
 		669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+RNPStatus.m"; sourceTree = "<group>"; };
41
 		669581F51FE4416B008596CD /* ReactNativePermissions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReactNativePermissions.m; sourceTree = "<group>"; };
39
 		669581F51FE4416B008596CD /* ReactNativePermissions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReactNativePermissions.m; sourceTree = "<group>"; };
59
 		6695820B1FE441A8008596CD /* RNPSpeechRecognition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPSpeechRecognition.h; sourceTree = "<group>"; };
57
 		6695820B1FE441A8008596CD /* RNPSpeechRecognition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPSpeechRecognition.h; sourceTree = "<group>"; };
60
 		6695820C1FE441A8008596CD /* RNPNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPNotification.h; sourceTree = "<group>"; };
58
 		6695820C1FE441A8008596CD /* RNPNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPNotification.h; sourceTree = "<group>"; };
61
 		9D23B34F1C767B80008B4819 /* libReactNativePermissions.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libReactNativePermissions.a; sourceTree = BUILT_PRODUCTS_DIR; };
59
 		9D23B34F1C767B80008B4819 /* libReactNativePermissions.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libReactNativePermissions.a; sourceTree = BUILT_PRODUCTS_DIR; };
60
+		D0AD62302000656F00D89898 /* RNPMotion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPMotion.h; sourceTree = "<group>"; };
61
+		D0AD62312000657000D89898 /* RNPMotion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPMotion.m; sourceTree = "<group>"; };
62
 /* End PBXFileReference section */
62
 /* End PBXFileReference section */
63
 
63
 
64
 /* Begin PBXFrameworksBuildPhase section */
64
 /* Begin PBXFrameworksBuildPhase section */
85
 				669582081FE441A8008596CD /* RNPContacts.m */,
85
 				669582081FE441A8008596CD /* RNPContacts.m */,
86
 				669582061FE441A7008596CD /* RNPEvent.h */,
86
 				669582061FE441A7008596CD /* RNPEvent.h */,
87
 				6695820A1FE441A8008596CD /* RNPEvent.m */,
87
 				6695820A1FE441A8008596CD /* RNPEvent.m */,
88
+				D0AD62302000656F00D89898 /* RNPMotion.h */,
89
+				D0AD62312000657000D89898 /* RNPMotion.m */,
88
 				669582021FE441A7008596CD /* RNPLocation.h */,
90
 				669582021FE441A7008596CD /* RNPLocation.h */,
89
 				669581FE1FE441A7008596CD /* RNPLocation.m */,
91
 				669581FE1FE441A7008596CD /* RNPLocation.m */,
90
 				6695820C1FE441A8008596CD /* RNPNotification.h */,
92
 				6695820C1FE441A8008596CD /* RNPNotification.h */,
112
 		9D23B3501C767B80008B4819 /* Products */ = {
114
 		9D23B3501C767B80008B4819 /* Products */ = {
113
 			isa = PBXGroup;
115
 			isa = PBXGroup;
114
 			children = (
116
 			children = (
115
-				4833830F1FAB6115005D5777 /* RNPMotion.h */,
116
-				4833830E1FAB6114005D5777 /* RNPMotion.m */,
117
-				9D46282E1D34719100346A5B /* RNPAudioVideo.h */,
118
-				9D46282F1D34719100346A5B /* RNPAudioVideo.m */,
119
-				9D4628301D34719100346A5B /* RNPBackgroundRefresh.h */,
120
-				9D4628311D34719100346A5B /* RNPBackgroundRefresh.m */,
121
-				9D4628321D34719100346A5B /* RNPBluetooth.h */,
122
-				9D4628331D34719100346A5B /* RNPBluetooth.m */,
123
-				9D4628341D34719100346A5B /* RNPContacts.h */,
124
-				9D4628351D34719100346A5B /* RNPContacts.m */,
125
-				9D4628361D34719100346A5B /* RNPEvent.h */,
126
-				9D4628371D34719100346A5B /* RNPEvent.m */,
127
-				9D4628381D34719100346A5B /* RNPLocation.h */,
128
-				9D4628391D34719100346A5B /* RNPLocation.m */,
129
-				9D46283A1D34719100346A5B /* RNPNotification.h */,
130
-				9D46283B1D34719100346A5B /* RNPNotification.m */,
131
-				9D46283C1D34719100346A5B /* RNPPhoto.h */,
132
-				9D46283D1D34719100346A5B /* RNPPhoto.m */,
133
-				281CD5921E26B266003A72B2 /* RNPSpeechRecognition.h */,
134
-				281CD5901E26B0C7003A72B2 /* RNPSpeechRecognition.m */,
135
 				9D23B34F1C767B80008B4819 /* libReactNativePermissions.a */,
117
 				9D23B34F1C767B80008B4819 /* libReactNativePermissions.a */,
136
 			);
118
 			);
137
 			name = Products;
119
 			name = Products;
193
 			isa = PBXSourcesBuildPhase;
175
 			isa = PBXSourcesBuildPhase;
194
 			buildActionMask = 2147483647;
176
 			buildActionMask = 2147483647;
195
 			files = (
177
 			files = (
196
-				483383101FAB6115005D5777 /* RNPMotion.m in Sources */,
197
 				669582111FE441A8008596CD /* RNPNotification.m in Sources */,
178
 				669582111FE441A8008596CD /* RNPNotification.m in Sources */,
198
 				669582151FE441A8008596CD /* RNPEvent.m in Sources */,
179
 				669582151FE441A8008596CD /* RNPEvent.m in Sources */,
199
 				669582101FE441A8008596CD /* RNPBackgroundRefresh.m in Sources */,
180
 				669582101FE441A8008596CD /* RNPBackgroundRefresh.m in Sources */,
203
 				669582141FE441A8008596CD /* RNPContacts.m in Sources */,
184
 				669582141FE441A8008596CD /* RNPContacts.m in Sources */,
204
 				6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */,
185
 				6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */,
205
 				669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */,
186
 				669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */,
187
+				D0AD62322000657000D89898 /* RNPMotion.m in Sources */,
206
 				669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */,
188
 				669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */,
207
 				669582121FE441A8008596CD /* RNPPhoto.m in Sources */,
189
 				669582121FE441A8008596CD /* RNPPhoto.m in Sources */,
208
 			);
190
 			);

+ 1
- 0
lib/permissions.ios.js View File

20
   'notification',
20
   'notification',
21
   'backgroundRefresh',
21
   'backgroundRefresh',
22
   'speechRecognition',
22
   'speechRecognition',
23
+  'motion'
23
 ]
24
 ]
24
 
25
 
25
 const DEFAULTS = {
26
 const DEFAULTS = {