Forum Discussion
Push Primer In App request not working
Hi!
Context: As goal, we want to update the user profile, subscribing the user to push notification and after that, request permission in the user mobile/device to allow receive push notifications;
How are we trying this?
I'm currently using the appboyBridge to make some updates in the user profile, etc.
After updating the user profile (subscription), we are triggering the function to request the user permission to display notification its mobile/device.
The way we're doing this is by calling
appboyBridge.registerAppboyPushMessages()
Everything else is working but, when debugging (using "alert" - workaround), the flow is broken when we call the method.
Any idea on what's happening?
- BenLerner-PaioSpecialist
DanPickaxe - Are you doing this through an InApp message or just via the console / SDK? If you're doing it via an InApp, you can use this function : brazeBridge.requestPushPermission(successCallback, deniedCallback) which should display the request box as you're after.
Otherwise it's device dependent, so you should check the documentation.
Related Content
- 2 months ago