firebase-cloud-messaging

What does FirebaseAppDelegateProxyEnabled do?

♀尐吖头ヾ 提交于 2021-02-11 05:08:36
问题 My issue (background notifications): I am using React Native Firebase. Everything is fine until recently I updated to version 6.7.1 of the library. After the update background notification(while app is closed) stopped working. Foreground is working. I found a suggestion here, to turn FirebaseAppDelegateProxyEnabled to YES in info.plist. And it did work! I can receive notifications fine now. But what is swizzling? I don't really understand what is this method of swizzling do, and what is the

firebase push notification error spring boot server side

ぐ巨炮叔叔 提交于 2021-02-10 17:52:02
问题 iam trying to send a notification from spring boot server side to client side android .. the server is working great and all things is good 2020-09-01 08:13:07.691 INFO 18941 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2020-09-01 08:13:07.691 INFO 18941 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging

firebase push notification error spring boot server side

百般思念 提交于 2021-02-10 17:48:05
问题 iam trying to send a notification from spring boot server side to client side android .. the server is working great and all things is good 2020-09-01 08:13:07.691 INFO 18941 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2020-09-01 08:13:07.691 INFO 18941 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging

Notification channel error

陌路散爱 提交于 2021-02-10 14:14:24
问题 I have an app which will recieve FCM notifications.App was recieved notifications on os below Android oreo devices. But notificatons are not recieving in android oreo device.Instead of notification it gets toast "developer warning for package failed to post notification on channel null". I searched and understand that Notification channels are required.But I dont know where it is to be added.Please give me guidance.The toast is appearing on 8.0 emulator.In real device nothing is coming. 回答1:

Notification channel error

可紊 提交于 2021-02-10 14:10:39
问题 I have an app which will recieve FCM notifications.App was recieved notifications on os below Android oreo devices. But notificatons are not recieving in android oreo device.Instead of notification it gets toast "developer warning for package failed to post notification on channel null". I searched and understand that Notification channels are required.But I dont know where it is to be added.Please give me guidance.The toast is appearing on 8.0 emulator.In real device nothing is coming. 回答1:

Firebase Cloud Functions for Firestore are not triggering

五迷三道 提交于 2021-02-10 06:34:48
问题 Cannot get Firebase Cloud Functions for Firestore to trigger on onWrite of my collection. Trying to setup device to device push notification for chat app. Function is deployed and on Pay as you go plan, however, changes in document, updates or create in "chats" collection is not triggering. Firebase cloud messaging is supposed to send a push and write to the log. Neither is happening. Push is working with other sources. Thanks for your help, wish device to device push notifications was easier

Firebase Cloud Functions for Firestore are not triggering

一笑奈何 提交于 2021-02-10 06:34:26
问题 Cannot get Firebase Cloud Functions for Firestore to trigger on onWrite of my collection. Trying to setup device to device push notification for chat app. Function is deployed and on Pay as you go plan, however, changes in document, updates or create in "chats" collection is not triggering. Firebase cloud messaging is supposed to send a push and write to the log. Neither is happening. Push is working with other sources. Thanks for your help, wish device to device push notifications was easier

specific ringtone firebase notification xamarin.android

霸气de小男生 提交于 2021-02-10 05:48:26
问题 How i can force the push notification to run ringtone instead of default notification sound is there any way to ovveride the default behaviour for firebase onMessageReceived 回答1: You could set the specific ringtone in firebase notification. When you use API 26 or later, you would use Channel of Notification. Use the SetSound of channel would cover the default notification sound. Set the Ringtone with SetSound method of Channel. channel.SetSound(RingtoneManager.GetDefaultUri(RingtoneType

specific ringtone firebase notification xamarin.android

主宰稳场 提交于 2021-02-10 05:48:07
问题 How i can force the push notification to run ringtone instead of default notification sound is there any way to ovveride the default behaviour for firebase onMessageReceived 回答1: You could set the specific ringtone in firebase notification. When you use API 26 or later, you would use Channel of Notification. Use the SetSound of channel would cover the default notification sound. Set the Ringtone with SetSound method of Channel. channel.SetSound(RingtoneManager.GetDefaultUri(RingtoneType

What is the difference between FIRInstanceID.instanceID().token() and Messaging.messaging().fcmToken?

不羁岁月 提交于 2021-02-08 14:13:48
问题 I am implementing Firebase push notifications in my app. In one tutorial I find that I get the token from the Messaging.messaging().fcmToken and in this SO question I find this approach: FIRInstanceID.instanceID().token() What is the difference between them? My only goal is to be able to send my backend guys the token so they can recognize me in the DB for push notifications. Currently my code that generates the token is this: func application(_ application: UIApplication,