-
Notifications
You must be signed in to change notification settings - Fork 107
Added info for 'Automatically Prompt Users for Permission option' in Push Notifications #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
4a1d94d
Added info for Automatically Prompt Users for Permission option
pinkeshmars 27f77c6
Resolved review comments
pinkeshmars ebb6698
Merge branch 'main' into pinkesh/update-push-notification-prompt
pinkeshmars b6d51bb
Merge branch 'main' into pinkesh/update-push-notification-prompt
leighajarett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+42.5 KB
docs/ff-concepts/alerts-notification/imgs/enable-push-notification.avif
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,6 @@ These steps are mandatory if you want to send push notifications to iOS devices: | |
|
||
Here are the steps to send push notifications: | ||
|
||
1. [Enabling push notification](#enabling-push-notification) | ||
2. [Only for iOS: Configuring iOS app](#only-for-ios-configuring-ios-app) | ||
3. [Sending push notifications](#sending-push-notifications) | ||
|
||
### Enabling push notification | ||
|
||
:::warning | ||
|
@@ -54,12 +50,18 @@ Here are the steps to send push notifications: | |
|
||
To enable push notifications: | ||
|
||
1. Click on the **Settings and Integrations** -> App Settings -> **Push Notifications** and | ||
1. Navigate to the **Settings and Integrations -> App Settings -> Push Notifications** and | ||
**Enable Push Notifications**. | ||
2. Now, click on the **Deploy** button. This will create and deploy the *Cloud Functions* in your | ||
Firebase project that are necessary for push notifications to work. | ||
|
||
 | ||
 | ||
|
||
:::info | ||
By default, the **Automatically Prompt Users for Permission** option is enabled, meaning your app will automatically prompt users for permission to receive push notifications when FlutterFlow detects it's necessary. | ||
|
||
If you disable it, you will need to manually request permission using the [**Request Permission**](../../resources/projects/settings/project-setup.md#request-permission-action) action at the appropriate point in your app. **It is recommended to keep this option always enabled**. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "If you disable it, you can control when the permission is requested. To do so, you will need to manually..." |
||
::: | ||
|
||
### Only for iOS: Configuring iOS app | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"meaning your app will automatically prompt users requesting for permission to receive push notifications when the app is started. However, this may be disruptive to your user sign-in flow."