Registration failed - push service error

358 views
Skip to first unread message

刘淳猛

unread,
Jun 9, 2023, 11:30:24 AM6/9/23
to Firebase Google Group
on Android Chrome, when run getToken,it happens this error `Registration failed - push service error`. 

const firebaseConfig = {} // form firebase url copy it
const app = initializeApp(firebaseConfig);
const messaging = getMessaging(app); 
getToken(messaging, {vapidKey: 'xxx' // also from firbase url config, serviceWorkerRegistration: sw })

should someone help me hot to fixed it.  It only happen on android chrome
Reply all
Reply to author
Forward
0 new messages