Browse Source

Add plist xml tag

Mathieu Acthernoene 5 years ago
parent
commit
1359c429d4
1 changed files with 42 additions and 32 deletions
  1. 42
    32
      README.md

+ 42
- 32
README.md View File

@@ -59,38 +59,48 @@ end
59 59
 Then update your `Info.plist` with wanted permissions usage descriptions.
60 60
 
61 61
 ```xml
62
-<!-- 🚨 keep only the permissions used in your app! 🚨 -->
63
-
64
-<key>NSAppleMusicUsageDescription</key>
65
-<string>TEXT</string>
66
-<key>NSBluetoothAlwaysUsageDescription</key>
67
-<string>TEXT</string>
68
-<key>NSBluetoothPeripheralUsageDescription</key>
69
-<string>TEXT</string>
70
-<key>NSCalendarsUsageDescription</key>
71
-<string>TEXT</string>
72
-<key>NSCameraUsageDescription</key>
73
-<string>TEXT</string>
74
-<key>NSContactsUsageDescription</key>
75
-<string>TEXT</string>
76
-<key>NSFaceIDUsageDescription</key>
77
-<string>TEXT</string>
78
-<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
79
-<string>TEXT</string>
80
-<key>NSLocationAlwaysUsageDescription</key>
81
-<string>TEXT</string>
82
-<key>NSLocationWhenInUseUsageDescription</key>
83
-<string>TEXT</string>
84
-<key>NSMicrophoneUsageDescription</key>
85
-<string>TEXT</string>
86
-<key>NSMotionUsageDescription</key>
87
-<string>TEXT</string>
88
-<key>NSPhotoLibraryUsageDescription</key>
89
-<string>TEXT</string>
90
-<key>NSRemindersUsageDescription</key>
91
-<string>TEXT</string>
92
-<key>NSSpeechRecognitionUsageDescription</key>
93
-<string>TEXT</string>
62
+<?xml version="1.0" encoding="UTF-8"?>
63
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
64
+<plist version="1.0">
65
+<dict>
66
+
67
+  <!-- 🚨 keep only the permissions used in your app! 🚨 -->
68
+
69
+  <key>NSAppleMusicUsageDescription</key>
70
+  <string>TEXT</string>
71
+  <key>NSBluetoothAlwaysUsageDescription</key>
72
+  <string>TEXT</string>
73
+  <key>NSBluetoothPeripheralUsageDescription</key>
74
+  <string>TEXT</string>
75
+  <key>NSCalendarsUsageDescription</key>
76
+  <string>TEXT</string>
77
+  <key>NSCameraUsageDescription</key>
78
+  <string>TEXT</string>
79
+  <key>NSContactsUsageDescription</key>
80
+  <string>TEXT</string>
81
+  <key>NSFaceIDUsageDescription</key>
82
+  <string>TEXT</string>
83
+  <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
84
+  <string>TEXT</string>
85
+  <key>NSLocationAlwaysUsageDescription</key>
86
+  <string>TEXT</string>
87
+  <key>NSLocationWhenInUseUsageDescription</key>
88
+  <string>TEXT</string>
89
+  <key>NSMicrophoneUsageDescription</key>
90
+  <string>TEXT</string>
91
+  <key>NSMotionUsageDescription</key>
92
+  <string>TEXT</string>
93
+  <key>NSPhotoLibraryUsageDescription</key>
94
+  <string>TEXT</string>
95
+  <key>NSRemindersUsageDescription</key>
96
+  <string>TEXT</string>
97
+  <key>NSSpeechRecognitionUsageDescription</key>
98
+  <string>TEXT</string>
99
+
100
+  <!-- … -->
101
+
102
+</dict>
103
+</plist>
94 104
 ```
95 105
 
96 106
 ### Android