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

Commit 74c0584

Browse files
Merge remote-tracking branch 'origin/master'
2 parents f4f204a + 5e5dd5a commit 74c0584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/NON_FIREBASE_MESSAGING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Go to you app's root folder and remove `firebase.nativescript.json`, then run `n
1212
I've tried applying best practices to a [dedicated push-only demo app](/demo-push).
1313

1414
Two important things to keep in mind are:
15-
- `require` (not `import`!) the plugin in [app/app.ts](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/e18e546ac1b96fea1d7ce71c5ae3453a8955cc17/demo-push/app/app.ts#L5) (or `main.ts`, or any other file that bootstraps your app).
15+
- `require` (not `import`!) the plugin in [app.js/app.ts](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/e18e546ac1b96fea1d7ce71c5ae3453a8955cc17/demo-push/app/app.ts#L5) (or `main.ts`, or any other file that bootstraps your app).
1616
- Show [your own consent screen](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/e18e546ac1b96fea1d7ce71c5ae3453a8955cc17/demo-push/app/push-view-model.ts#L33-L43) before iOS requests permission, because **a)** the default popup (that'll also still be shown) isn't very friendly/configurable, and **b)** once the user denies permission they have to go to the settings app as you app can only request permission once.
1717

1818
## Setup

0 commit comments

Comments
 (0)