Skip to content

Commit

Permalink
docs(messaging): fix typo in android permissions example
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborszita authored Mar 13, 2023
1 parent e118597 commit 3fae6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ application. To learn more, view the advanced [iOS Permissions](/messaging/ios-p
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`

```
import {PermissionsAndroid} from 'react-native'}
import {PermissionsAndroid} from 'react-native';
PermissionsAndroid.request(PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS);
```

Expand Down

1 comment on commit 3fae6cb

@vercel
Copy link

@vercel vercel bot commented on 3fae6cb Mar 13, 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.