When using a custom prompt for web push notifications, a two-step subscription process is the expected behavior. If the browser's native permission prompt does not appear after a user clicks "Accept" on your custom prompt, it usually points to an issue with your site's implementation.
The correct flow is as follows:
- Custom Prompt (Soft Ask): Your website first displays your custom-designed pop-up asking the user if they want to subscribe to notifications.
- Native Browser Prompt: When a user clicks the "Allow" or "Subscribe" button on your custom prompt, this action should immediately trigger the browser's own native permission prompt. The user must also grant permission on this second, native prompt to complete the subscription.
If the native prompt fails to appear, please check the code associated with your custom prompt's "Accept" button. Ensure that it is correctly configured to call the necessary function to trigger the browser's permission request.
Comments
0 comments
Please sign in to leave a comment.