firebase-cloud-messaging

Flutter Push Notifications: Unable to receive notifications in background or when app is closed

≡放荡痞女 提交于 2020-08-18 16:55:08
问题 I am developing a flutter app for both Android and iOS. It has notifications, so I did implement the firebase_messaging API. I am sending notifications to certain devices by device ID and sending notifications to topics as well. I am testing the topics notification sending, which is working 100% fine in Android. I followed the guide in above provided link, implemented iOS setups as well. But in iOS, when the notification is sent, it is being received by app only if it is in foreground. Which

Firebase Messaging on Android suddenly started crashing when message received

浪尽此生 提交于 2020-08-15 03:43:37
问题 Currently using react native, react-native-firebase, and react-native-push-notification. Everything was fine until suddenly today firebase messaging started causing the app to crash. The error message is the following: Process: com.packagename, PID: 30087 java.lang.AbstractMethodError: abstract method "com.google.android.gms.tasks.Task com.google.firebase.iid.WithinAppServiceBinder$IntentHandler.zza(android.content.Intent)" at com.google.firebase.iid.WithinAppServiceBinder.zza(com.google

Firebase & One Signal Push Notifications Guidance

…衆ロ難τιáo~ 提交于 2020-08-10 23:07:30
问题 I have been playing around with One Signal & Firebase Push Notification. I am almost sure One Signal cannot help me and am starting to feel Firebase might also not be able to help me. We have a web app that allows regular authors to post articles. It also allows users to comment on the article using Firebase synced realtime database. I want to create functionality where users can get a push notification for article-specific comment treads. The room ID will be the article ID. If both allow

Flutter IOS FCM push notification not coming into notification bar

拈花ヽ惹草 提交于 2020-08-06 05:05:29
问题 I am new to Flutter and IOS. I am configuring FCM push notifications for both Android and IOS.For android its working fine.I have done by referring this link https://medium.com/@jun.chenying/flutter-tutorial-part3-push-notification-with-firebase-cloud-messaging-fcm-2fbdd84d3a5e . For IOS, if the app is opened and if I send FCM from Firebase Console at the same time , Flutter on message is called (See the screenshot , logs are there) . But if I close the app , notification is not coming to

Firebase Phone auth fails to pick up on remote notifications registration

£可爱£侵袭症+ 提交于 2020-08-02 14:52:36
问题 Currently struggling with the following error showing up in logs: <Error> [Firebase/Auth][I-AUT000015] The UIApplicationDelegate must handle remote notifcation for phone number authentication to work. as well as this NSError object when calling verifyPhoneNumber:completion: : @"NSLocalizedDescription" : @"If app delegate swizzling is disabled, remote notifications received by UIApplicationDelegate need to be forwarded to FIRAuth's canHandleNotificaton: method." @"error_name" : @"ERROR

Firebase Phone auth fails to pick up on remote notifications registration

前提是你 提交于 2020-08-02 14:51:11
问题 Currently struggling with the following error showing up in logs: <Error> [Firebase/Auth][I-AUT000015] The UIApplicationDelegate must handle remote notifcation for phone number authentication to work. as well as this NSError object when calling verifyPhoneNumber:completion: : @"NSLocalizedDescription" : @"If app delegate swizzling is disabled, remote notifications received by UIApplicationDelegate need to be forwarded to FIRAuth's canHandleNotificaton: method." @"error_name" : @"ERROR

How to add android notification channel id for flutter app to fix notification while app is on background

我只是一个虾纸丫 提交于 2020-08-02 09:58:21
问题 In my flutter app the function onResume and onLunch not working on android platform, while they work fine on IOS, i receive the following message on console instead of printed strings in those functions: "W/FirebaseMessaging(24847): Missing Default Notification Channel metadata in AndroidManifest. Default value will be used." onMessage function works fine, the problem is when the app is in background my guess is that it has something to do with android notification channel id which should be

How to add android notification channel id for flutter app to fix notification while app is on background

懵懂的女人 提交于 2020-08-02 09:57:33
问题 In my flutter app the function onResume and onLunch not working on android platform, while they work fine on IOS, i receive the following message on console instead of printed strings in those functions: "W/FirebaseMessaging(24847): Missing Default Notification Channel metadata in AndroidManifest. Default value will be used." onMessage function works fine, the problem is when the app is in background my guess is that it has something to do with android notification channel id which should be

firebase-messaging - Fatal: failed to find callback

感情迁移 提交于 2020-08-02 06:30:44
问题 I'm trying to use FCM messaging and keep getting this error. E/FlutterFcmService( 3684): Fatal: failed to find callback Below is the code I've used to setup. static Future<void> messagePiper( Map<String, dynamic> message, FilteredMap<String, ChatMessage> globalChatEntryMap, FilteredMap<String, ChatMessage> gameChatEntryMap, Subject<List<ChatMessage>> globalChatSubject, Subject<List<ChatMessage>> gameChatSubject, Map<String, Player> _playerMap) async { final Map<String, dynamic> data = message

How to send FCM notification to a topic group from app using android studio [duplicate]

狂风中的少年 提交于 2020-07-31 04:54:30
问题 This question already has answers here : How to send one to one message using Firebase Messaging (5 answers) How to send device to device messages using Firebase Cloud Messaging? (13 answers) How to send Device to device notification by using FCM without using XMPP or any other script.? (3 answers) Closed 27 days ago . I am trying to make push notifications using FCM in which any user subscribed to the topic "Alerts" can send a notification to others. I can recieve notifications sent using