소스 검색

Merge pull request #212 from yonahforst/peterlau-motion-permission-request-fixed

Make example works
Mathieu Acthernoene 7 년 전
부모
커밋
72128a0d07
No account linked to committer's email address
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    0
      example/ios/Example/Info.plist
  2. 1
    1
      lib/permissions.ios.js

+ 2
- 0
example/ios/Example/Info.plist 파일 보기

57
 	<string>test</string>
57
 	<string>test</string>
58
 	<key>NSSpeechRecognitionUsageDescription</key>
58
 	<key>NSSpeechRecognitionUsageDescription</key>
59
 	<string>test</string>
59
 	<string>test</string>
60
+	<key>NSMotionUsageDescription</key>
61
+	<string>test</string>
60
 	<key>UIBackgroundModes</key>
62
 	<key>UIBackgroundModes</key>
61
 	<array>
63
 	<array>
62
 		<string>bluetooth-peripheral</string>
64
 		<string>bluetooth-peripheral</string>

+ 1
- 1
lib/permissions.ios.js 파일 보기

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