Skip to content

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 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
14 changes: 8 additions & 6 deletions docs/ff-concepts/alerts-notification/push-notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

![img.png](imgs/img.png)
![img.png](imgs/enable-push-notification.avif)

:::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.
Copy link
Collaborator

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."


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**.
Copy link
Collaborator

Choose a reason for hiding this comment

The 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

Expand Down