I'd like to use the firebase cloud messaging service in my GWT webapplication, but I'm stuck with some problems. The application should be able to register the firebase service worker and connect to the service with it's specific token. T...
I have been studying materials related to Web push notification from FCM Messenger. While I came across downstream message and upstream message, apparently HTTP server only allows downstream message while XMPP server allows upstream message.  I have...
I use the code below to obtain a token from firebase :  const messaging = firebase.messaging();  messaging.requestPermission()   .then(() =>{     return firebase.messaging().getToken();   }).then(token => {      saveTokentoServer(user.uid, toke...
I am trying to implement FCM push notification in my ReactJS application. It is working in chrome and firefox browser perfectly but facing in an issue in safari browser.     FirebaseError: Messaging: This browser doesn't support the API's req...
i am using firebase function for creating notifications with cloud messaging. But i am always getting this Error:  Function execution took 60006 ms, finished with status: 'timeout'   but the notification works.   This is the code i am using i...
I am trying to send notifications to devices when they receive messages from their friends. But if they are about to receive the pop up, the app automatically goes to the homepage before the message even shows. I just don't get it. The messages a...
I'm trying to send a notification to a user but for some reason i have an error. The error is "Function returned undefined, expected Promise or value".  I cant understand what does this line means, hope you guys can take a look at my code...
I'm trying to implement push notification with React Native and Firebase through this documentation.  I set up the settings I need by the tutorial.     import React, { Component } from 'react' import { View } from 'react-native' i...
Reference: https://github.com/firebase/quickstart-js/tree/master/messaging  I have added the key-value pair:  "requireInteraction": true   But the notification in Desktop Chrome still disappear after 20 seconds. Does any one know if Firebase...
I have tried to implement FCM for a week now into my ReactJS Webpack project. I am able to generate a service worker file, which if I am correct, contains the correct functions to receive firebase notifications from the cloud, but nothing happens. I...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.