# Request Notification Permission in Your App

Each app type has different permission requirements to ensure your users receive notifications on their device. Please follow the steps below to ensure your permissions are allowed for each app type that your users will be receiving notifications.&#x20;

***

*Skill Level: Intermediate*

#### Notification Permission Action should always be added on or after the Home Screen of the app. This ensures that Users are prompted in the event they log in on a new device or in on a new browser.

### Notification Permission Action

1. The Notification Permission Action is Found in the Actions Menu on any screen and is available on most components as a Click Action.

   ![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FYsKfxgpGwgK5F0sxLm3q%2FScreenshot%202023-11-06%20at%202.20.46%E2%80%AFPM.png?alt=media\&token=43a59cfb-1136-4345-bd5b-f8a984d45223)<br>
2. Recently created apps will have this set as a Screen Action on home screen by default and will work for most iOS and Android Native Apps. PWA has additional setup requirements listed below.&#x20;

### iOS Notification Permission Requirements

1. Apple requires Users to allow notification permissions within each app.&#x20;
   * If using the Home Screen Action, the first time your users go to your app's home screen, they will be automatically prompted to grant your app permission to send them Push Notifications.  They will not see this prompt any subsequent times they visit your app's home screen.&#x20;
2. If a User denies permission, they need to go into the settings for the app and allow notifications as they may not be prompted again.

### Android Notification Permission

1. In Android 12 and below the Notifications are automatically allowed once the app is downloaded. ***There will not be a pop-up requesting permission.***
2. In Android 13 or newer, users will be prompted to allow notifications on their app with a pop-up.&#x20;
   * If using the Home Screen Action, the first time your users go to your app's home screen, they will be automatically prompted to grant your app permission to send them Push Notifications.  They will not see this prompt any subsequent times they visit your app's home screen.&#x20;
3. If a User denies permission, they need to go into the settings for the app and allow notifications as they may not be prompted again.

### PWA Notification Permission

1. Browsers used for installed PWAs ***block screen actions requesting notification permissions*** meaning the action needs to be connected to a click action.
   * Below shows how this could look in the Setup Flow for your Users as an approval screen where the Request Notification Permission would be on the 'Allow Notifications' Button.&#x20;

<div align="center"><figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FC0N6L3lD0T2aXfjyF4Og%2Fimage.png?alt=media&#x26;token=18c3f15a-1e34-4ea1-a921-cb6d0bf5d35e" alt="" width="108"><figcaption></figcaption></figure></div>

* If a User denies permission, they need to go into the settings for the browser and allow notifications as they may not be prompted again.

### Next steps

* Now you are ready to [Trigger Notifications](https://help.adalo.com/actions/notifications/trigger-push-notifications) within your Adalo App!
* If you want to send Push Notifications using the Adalo API, head over to [this guide](https://help.adalo.com/integrations/the-adalo-api/push-notifications)!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.adalo.com/actions/notifications/request-notification-permission-in-your-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
