Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 0a45989

Browse files
Update MESSAGING.md
1 parent 4f7dd83 commit 0a45989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/MESSAGING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ If you don't want a badge on the app icon, remove the `badge` property or set it
184184

185185
## What if iOS doesn't receive notifications in the background?
186186
Make sure you [`require` the plugin in `app.ts`](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/55cfb4f69cf8939f9101712fed22383196b08d36/demo/app/app.ts#L5)
187-
*before* `application.start()`, and do `init()` *after* the app has started (not in `app.ts`).
187+
*before* `application.start()`, and do `init()` *after* the app has started (not in `app.ts` - not even in a timeout; move it out of `app.ts` entirely!).
188188

189189
> Make sure to use `require`, *not* `import` in `app.ts` because TSC will remove the import in case you're not using it.

0 commit comments

Comments
 (0)