Skip to main content
Beta Feature: This feature is currently in testing. Use at your own risk. Behavior may change in future updates.
Pop Onboarding allows you to add a “Request Notification Permission” action to any button or icon in your flow. Since WebViews cannot request native permissions directly due to OS security sandboxing, this action sends a message to your native app, which must then trigger the actual OS permission dialog.

How it works

  1. You select “Request Notifications” as the action for a button in the Pop Editor.
  2. User taps the button.
  3. The WebView sends a postMessage with { type: 'request_notification' }.
  4. Your native code intercepts this message and calls the native permission API.

Implementation Guide

React Native

You can use the react-native-permissions or specific push notification libraries.

Expo

If you are using Expo, use expo-notifications:

iOS (Swift)

Android (Kotlin)