firebase/snippets-web

Delete this

KingOfW0lves opened this issue · 2 comments

// Get registration token. Initially this makes a network call, once retrieved
// subsequent calls to getToken will return from cache.
messaging.getToken({ vapidKey: '<YOUR_PUBLIC_VAPID_KEY_HERE>' }).then((currentToken) => {
if (currentToken) {
// Send the token to your server and update the UI if necessary
// ...
} else {
// Show permission request UI
console.log('No registration token available. Request permission to generate one.');
// ...
}
}).catch((err) => {
console.log('An error occurred while retrieving token. ', err);
// ...
});

groudonkyogre

I did this on axcedent sorry

@KingOfW0lves It happens, it's ok.

I don't have permission to delete issues, so I marked your issue as invalid and closed it. I'll check if we can get it deleted some other way, don't worry about it.