Skip to content

Commit a89af28

Browse files
A note on Android launchModes
1 parent 90ad3a7 commit a89af28

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,11 @@ If the `requestPermission` or `schedule` functions previously ran you may want t
202202
)
203203
```
204204

205-
## Future work
206-
Let us know what you need by opening a Github issue.
207-
208-
We're thinking about adding support for things like:
209-
- Interactive Notifications on iOS
205+
## Help, my Android app is restarted
206+
When your app is launched from a notification you may notice the app is not continuing from when you
207+
put it in the background. To fix that, open `app/App_Resources/AndroidManifest.xml` and change the
208+
`launchMode` of the NativeScript activity. For instance:
209+
210+
```xml
211+
<activity android:launchMode="singleTop" />
212+
```

0 commit comments

Comments
 (0)