Skip to content

Commit 500041a

Browse files
authored
Update README.md
1 parent f55300b commit 500041a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pod 'PermissionsKit/HealthPermission', :git => 'https://github.com/sparrowcode/P
141141

142142
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.
143143

144-
> **Warning**
144+
> [!WARNING]
145145
> Import only the permissions you really need.
146146
147147
## Request Permission
@@ -164,7 +164,7 @@ import NotificationPermission
164164
let authorized = Permission.notification.authorized
165165
```
166166

167-
> **Warning**
167+
> [!WARNING]
168168
> For FaceID permission no way detect if request `.authorized` or `.notDetermined` accurate. Status `.denied` detect well. For now for both states return `.notDetermined`.
169169
170170
## Keys in `Info.plist`
@@ -175,7 +175,7 @@ You need to add some strings to the `Info.plist` file with descriptions per Appl
175175
let key = Permission.bluetooth.usageDescriptionKey
176176
```
177177

178-
> **Warning**
178+
> [!NOTE]
179179
> Do not use the description as the name of the key. Xcode can't build this.
180180
181181
### Localisation

0 commit comments

Comments
 (0)