Browse Source

Make example works

Mathieu Acthernoene 6 years ago
parent
commit
bd3c718d23
2 changed files with 3 additions and 1 deletions
  1. 2
    0
      example/ios/Example/Info.plist
  2. 1
    1
      lib/permissions.ios.js

+ 2
- 0
example/ios/Example/Info.plist View File

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 View File

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 = {