Skip to content

Commit 390a8bd

Browse files
committed
Move files to new location. Add to array in permissions.ios.js
1 parent ad1c633 commit 390a8bd

File tree

4 files changed

+7
-24
lines changed

4 files changed

+7
-24
lines changed
File renamed without changes.
File renamed without changes.

ios/ReactNativePermissions.xcodeproj/project.pbxproj

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
483383101FAB6115005D5777 /* RNPMotion.m in Sources */ = {isa = PBXBuildFile; fileRef = 4833830E1FAB6114005D5777 /* RNPMotion.m */; };
1110
669581F71FE4416B008596CD /* RCTConvert+RNPStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */; };
1211
669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581F51FE4416B008596CD /* ReactNativePermissions.m */; };
1312
6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */ = {isa = PBXBuildFile; fileRef = 669581FD1FE441A7008596CD /* RNPSpeechRecognition.m */; };
@@ -19,6 +18,7 @@
1918
669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582071FE441A7008596CD /* RNPAudioVideo.m */; };
2019
669582141FE441A8008596CD /* RNPContacts.m in Sources */ = {isa = PBXBuildFile; fileRef = 669582081FE441A8008596CD /* RNPContacts.m */; };
2120
669582151FE441A8008596CD /* RNPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 6695820A1FE441A8008596CD /* RNPEvent.m */; };
21+
D0AD62322000657000D89898 /* RNPMotion.m in Sources */ = {isa = PBXBuildFile; fileRef = D0AD62312000657000D89898 /* RNPMotion.m */; };
2222
/* End PBXBuildFile section */
2323

2424
/* Begin PBXCopyFilesBuildPhase section */
@@ -34,8 +34,6 @@
3434
/* End PBXCopyFilesBuildPhase section */
3535

3636
/* 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; };
3937
669581F31FE4416B008596CD /* ReactNativePermissions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReactNativePermissions.h; sourceTree = "<group>"; };
4038
669581F41FE4416B008596CD /* RCTConvert+RNPStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+RNPStatus.m"; sourceTree = "<group>"; };
4139
669581F51FE4416B008596CD /* ReactNativePermissions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReactNativePermissions.m; sourceTree = "<group>"; };
@@ -59,6 +57,8 @@
5957
6695820B1FE441A8008596CD /* RNPSpeechRecognition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPSpeechRecognition.h; sourceTree = "<group>"; };
6058
6695820C1FE441A8008596CD /* RNPNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPNotification.h; sourceTree = "<group>"; };
6159
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>"; };
6262
/* End PBXFileReference section */
6363

6464
/* Begin PBXFrameworksBuildPhase section */
@@ -85,6 +85,8 @@
8585
669582081FE441A8008596CD /* RNPContacts.m */,
8686
669582061FE441A7008596CD /* RNPEvent.h */,
8787
6695820A1FE441A8008596CD /* RNPEvent.m */,
88+
D0AD62302000656F00D89898 /* RNPMotion.h */,
89+
D0AD62312000657000D89898 /* RNPMotion.m */,
8890
669582021FE441A7008596CD /* RNPLocation.h */,
8991
669581FE1FE441A7008596CD /* RNPLocation.m */,
9092
6695820C1FE441A8008596CD /* RNPNotification.h */,
@@ -112,26 +114,6 @@
112114
9D23B3501C767B80008B4819 /* Products */ = {
113115
isa = PBXGroup;
114116
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 */,
135117
9D23B34F1C767B80008B4819 /* libReactNativePermissions.a */,
136118
);
137119
name = Products;
@@ -193,7 +175,6 @@
193175
isa = PBXSourcesBuildPhase;
194176
buildActionMask = 2147483647;
195177
files = (
196-
483383101FAB6115005D5777 /* RNPMotion.m in Sources */,
197178
669582111FE441A8008596CD /* RNPNotification.m in Sources */,
198179
669582151FE441A8008596CD /* RNPEvent.m in Sources */,
199180
669582101FE441A8008596CD /* RNPBackgroundRefresh.m in Sources */,
@@ -203,6 +184,7 @@
203184
669582141FE441A8008596CD /* RNPContacts.m in Sources */,
204185
6695820D1FE441A8008596CD /* RNPSpeechRecognition.m in Sources */,
205186
669582131FE441A8008596CD /* RNPAudioVideo.m in Sources */,
187+
D0AD62322000657000D89898 /* RNPMotion.m in Sources */,
206188
669581F81FE4416B008596CD /* ReactNativePermissions.m in Sources */,
207189
669582121FE441A8008596CD /* RNPPhoto.m in Sources */,
208190
);

lib/permissions.ios.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const permissionTypes = [
2020
'notification',
2121
'backgroundRefresh',
2222
'speechRecognition',
23+
'motion'
2324
]
2425

2526
const DEFAULTS = {

0 commit comments

Comments
 (0)