Skip to content

Commit

Permalink
docs(android): note apps must now manually add USE_FULL_SCREEN_INTENT…
Browse files Browse the repository at this point in the history
… if needed

doc change related to #1054
  • Loading branch information
mikehardy committed Sep 11, 2024
1 parent 5031a09 commit 3063ae4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs-react-native/react-native/docs/android/behaviour.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ and, by adding `showWhenLocked` and `turnScreenOn` to your activity in android/a
/>
```

and, by adding the USE_FULL_SCREEN_INTENT permission in
android/app/src/main/AndroidManifest.xml:
```xml
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT">
```

> After making these changes, be sure to run `cd android` and `./gradlew clean`, then re-install the app.
Running this code, Notifee will attempt to launch the activity when the notification is displayed.
Expand Down

0 comments on commit 3063ae4

Please sign in to comment.