-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PushManager.permissionState() not working on Chrome #1016
Comments
Hi there,
You can submit PR I think then we can test it or we can patch this change.
Thanks,
GMD Team
…On Mon, Sep 13, 2021 at 9:14 PM ingosch ***@***.***> wrote:
Calling perissionState() without userVisibleOnly parameter raises an
exception:
Uncaught (in promise) DOMException: Push subscriptions that don't enable
userVisibleOnly are not supported.
https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState
<http://url>
Solution: simply add PushSubscriptionOptions as parameter to
permissionState function in PushManager wrapper class.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1016>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAX6EF766O2YYTKNRHMZAXDUBX2KXANCNFSM5D5ZQFDQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling perissionState() without userVisibleOnly parameter raises an exception:
https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState
Solution: simply add PushSubscriptionOptions as parameter to permissionState function in PushManager wrapper class.
The text was updated successfully, but these errors were encountered: