Skip to content

Commit

Permalink
docs: Update permissions.md (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
seasmurph2k authored Jul 17, 2023
1 parent 09336ba commit f78a565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-react-native/react-native/docs/android/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For each level, you can check whether notifications are permitted through a dire
To check whether the user has enabled notifications for your app, call [`getNotificationSettings`](/react-native/reference/getnotificationsettings). The `authorizationStatus` attributes will returns `DENIED` if user has denied the permission, and `AUTHORIZED` if it's granted.

```js
import notifee from '@notifee/react-native';
import notifee, {AuthorizationStatus} from '@notifee/react-native';

async function checkNotificationPermission() {
const settings = await notifee.getNotificationSettings();
Expand Down

0 comments on commit f78a565

Please sign in to comment.