osx - How to get the device token of a mac? -


i using pushwoosh solution present , send notifications webpage mac users.

i set computer test device check , test notifications.

to this, pushwoosh wants me device token of mac. how , can it?

here can see screen of pushwoosh: enter image description here

this paragraph in "notification programming guide websites" documentation seems potentially useful:

to check permission level user has set website, call window.safari.pushnotification.permission() website push id argument. synchronous call returns permission object given identifier looking in user’s preferences. function not contact server.

one of items passed in permission object structure devicetoken, appears looking for.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -