Skip to content

Commit 839d3f9

Browse files
authored
Merge pull request #211 from FlutterFlow/pinkesh/update-push-notification-prompt
Added info for 'Automatically Prompt Users for Permission option' in Push Notifications
2 parents 2d66f66 + b6d51bb commit 839d3f9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
Binary file not shown.

docs/ff-concepts/alerts-notification/push-notifications.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ These steps are mandatory if you want to send push notifications to iOS devices:
3838

3939
Here are the steps to send push notifications:
4040

41-
1. [Enabling push notification](#enabling-push-notification)
42-
2. [Only for iOS: Configuring iOS app](#only-for-ios-configuring-ios-app)
43-
3. [Sending push notifications](#sending-push-notifications)
44-
4541
### Enabling push notification
4642

4743
:::warning
@@ -54,12 +50,18 @@ Here are the steps to send push notifications:
5450

5551
To enable push notifications:
5652

57-
1. Click on the **Settings and Integrations** -> App Settings -> **Push Notifications** and
53+
1. Navigate to the **Settings and Integrations -> App Settings -> Push Notifications** and
5854
**Enable Push Notifications**.
5955
2. Now, click on the **Deploy** button. This will create and deploy the *Cloud Functions* in your
6056
Firebase project that are necessary for push notifications to work.
6157

62-
![img.png](imgs/img.png)
58+
![img.png](imgs/enable-push-notification.avif)
59+
60+
:::info
61+
By default, the **Automatically Prompt Users for Permission** option is enabled, 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.
62+
63+
If you disable it, you can control when the permission is requested. To do so, you will need to manually [**Request Permission**](../../resources/projects/settings/project-setup.md#request-permission-action) at the appropriate point in your app. **It is recommended to keep this option always enabled**.
64+
:::
6365

6466
### Only for iOS: Configuring iOS app
6567

0 commit comments

Comments
 (0)