Subscribe the current user to notifications
const formsAppId = 1const isSubscribed = await notificationService.subscribe(formsAppId)// isSubscribed will be false if user denied permission to push notifications Copy
const formsAppId = 1const isSubscribed = await notificationService.subscribe(formsAppId)// isSubscribed will be false if user denied permission to push notifications
Subscribe the current user to notifications
Example