These are chat archives for jaybedeau/Firebase-Beginner

2nd
Aug 2017
accmail
@accmail
Aug 02 2017 11:01
hello is there difference if i use firebase.messaging getToken()
or i use on my registered service worker pushManager.subscription ?
if i use pushManager.subscription i need to pass server Key so when sending notofication with payload it reuqires p256d and auth
but if i use
firebase.messaging getToken()
it doesn't reuqire this think is it handled by firebase or is it safer tto use pushManager.subcriotion with publicServerKey ?