Browse Source

Make example works

Mathieu Acthernoene 7 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,6 +57,8 @@
57 57
 	<string>test</string>
58 58
 	<key>NSSpeechRecognitionUsageDescription</key>
59 59
 	<string>test</string>
60
+	<key>NSMotionUsageDescription</key>
61
+	<string>test</string>
60 62
 	<key>UIBackgroundModes</key>
61 63
 	<array>
62 64
 		<string>bluetooth-peripheral</string>

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

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