You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ pod 'PermissionsKit/HealthPermission', :git => 'https://github.com/sparrowcode/P
141
141
142
142
If put all code to one package and compile it, Apple Review Team will see a lot of calls to permissions API and ask you provide reason why you really need it permissions. Modules allow compile only really using code parts. Just select only which you need.
143
143
144
-
> **Warning**
144
+
> [!WARNING]
145
145
> Import only the permissions you really need.
146
146
147
147
## Request Permission
@@ -164,7 +164,7 @@ import NotificationPermission
164
164
let authorized = Permission.notification.authorized
165
165
```
166
166
167
-
> **Warning**
167
+
> [!WARNING]
168
168
> For FaceID permission no way detect if request `.authorized` or `.notDetermined` accurate. Status `.denied` detect well. For now for both states return `.notDetermined`.
169
169
170
170
## Keys in `Info.plist`
@@ -175,7 +175,7 @@ You need to add some strings to the `Info.plist` file with descriptions per Appl
175
175
let key = Permission.bluetooth.usageDescriptionKey
176
176
```
177
177
178
-
> **Warning**
178
+
> [!NOTE]
179
179
> Do not use the description as the name of the key. Xcode can't build this.
0 commit comments