Skip to content

Commit

Permalink
docs(messaging): add header for android permissions section (#6917)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilal-Abdeen committed Feb 16, 2023
1 parent 2e51817 commit a54d765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ async function requestUserPermission() {
The permissions API for iOS provides much more fine-grain control over permissions and how they're handled within your
application. To learn more, view the advanced [iOS Permissions](/messaging/ios-permissions) documentation.

## Android - Requesting permissions

On Android API level 32 and below, you do not need to request user permission. This method can still be called on Android devices; however, and will always resolve successfully. For API level 33+ you will need to request the permission manually using either the built-in react-native `PermissionsAndroid` APIs or a related module such as `react-native-permissions`

```
Expand Down

1 comment on commit a54d765

@vercel
Copy link

@vercel vercel bot commented on a54d765 Feb 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.