firebase-cloud-messaging

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

こ雲淡風輕ζ 提交于 2020-07-31 04:54:29
问题 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

FCM send messages to topic in specific app

拟墨画扇 提交于 2020-07-23 08:01:04
问题 I've two android apps that share same project in firebase infrastructure When i was preparing the firebase infrastructue to run the second one i decided for creating a second app in the same firebase project as the first one... this was a decision made basically because i hated the firebase "switch between projects" tools. both apps ran great for over a year being hosted as same project although not sharing real resources BUT NOW I RUN INTO A PROBLEM I added FCM into the apps and i cant find

FCM send messages to topic in specific app

≯℡__Kan透↙ 提交于 2020-07-23 08:00:29
问题 I've two android apps that share same project in firebase infrastructure When i was preparing the firebase infrastructue to run the second one i decided for creating a second app in the same firebase project as the first one... this was a decision made basically because i hated the firebase "switch between projects" tools. both apps ran great for over a year being hosted as same project although not sharing real resources BUT NOW I RUN INTO A PROBLEM I added FCM into the apps and i cant find

FCM send messages to topic in specific app

自古美人都是妖i 提交于 2020-07-23 07:59:38
问题 I've two android apps that share same project in firebase infrastructure When i was preparing the firebase infrastructue to run the second one i decided for creating a second app in the same firebase project as the first one... this was a decision made basically because i hated the firebase "switch between projects" tools. both apps ran great for over a year being hosted as same project although not sharing real resources BUT NOW I RUN INTO A PROBLEM I added FCM into the apps and i cant find

Android Studio -error: cannot access InternalTokenProvider // firebaseAuth = FirebaseAuth.getInstance();

坚强是说给别人听的谎言 提交于 2020-07-23 06:45:58
问题 I get this error whenever adding Cloud Messaging dependencies for Android push notifications: error: cannot access InternalTokenProvider firebaseAuth = FirebaseAuth.getInstance(); ^ class file for com.google.firebase.internal.InternalTokenProvider not found implementation 'com.google.firebase:firebase-messaging:20.2.3' My Firebase Realtime Database working perfect without this dependencies. What is the problem, and how can I fix it? 回答1: Without FIrebase Auth! Running perfectly. public class

Android Studio -error: cannot access InternalTokenProvider // firebaseAuth = FirebaseAuth.getInstance();

喜你入骨 提交于 2020-07-23 06:43:33
问题 I get this error whenever adding Cloud Messaging dependencies for Android push notifications: error: cannot access InternalTokenProvider firebaseAuth = FirebaseAuth.getInstance(); ^ class file for com.google.firebase.internal.InternalTokenProvider not found implementation 'com.google.firebase:firebase-messaging:20.2.3' My Firebase Realtime Database working perfect without this dependencies. What is the problem, and how can I fix it? 回答1: Without FIrebase Auth! Running perfectly. public class

Flutter Firebase Cloud Messaging - Notification when app in background

对着背影说爱祢 提交于 2020-07-22 21:35:35
问题 I am currently using FCM for push notifications. When my app is open, I receive the notification, however when the app is closed or in the background - I do not receive anything until I reopen the app. On XCode, I have background fetch enabled and remote notifications enabled. What should I check next? Thank you. I am using firebase_messaging: ^5.1.6 with the code _firebaseMessaging.configure( onMessage: (Map<String, dynamic> message) async { print('message is $message'); setState( () {

Flutter Firebase Cloud Messaging - Notification when app in background

我只是一个虾纸丫 提交于 2020-07-22 21:34:50
问题 I am currently using FCM for push notifications. When my app is open, I receive the notification, however when the app is closed or in the background - I do not receive anything until I reopen the app. On XCode, I have background fetch enabled and remote notifications enabled. What should I check next? Thank you. I am using firebase_messaging: ^5.1.6 with the code _firebaseMessaging.configure( onMessage: (Map<String, dynamic> message) async { print('message is $message'); setState( () {

Missing default Notification Channel metadata in AndroidManifest in Flutter

不羁的心 提交于 2020-07-22 14:47:28
问题 I am using firebase_messaging: ^5.0.1 package to achieve push notifications, everything is working fine in IOS whereas coming to the android when my mobile application running background I am receiving a notification but it is not navigating to the respective screens, it just opens the default screen. How to achieve navigation to that particular screen. PS: I implemented click_action functionality that's the reason it's working fine in iOS but Android it shows the below message W

Firebase Cloud Messaging Notifications for iOS not showing opened and analytics

蹲街弑〆低调 提交于 2020-07-20 10:53:08
问题 I'am using FCM to send notifications to iOS apps. The notifications are received on the device well, but I can not get the "Opened" or "Conversion " rate in the Notification console GUI. It always shows "0 opened" and "0 Conversion" for almost 200 0000 notifications sent. I double checked all the implementation but I can't get it working. I have FirebaseAppDelegateProxyEnabled set to YES in plist. I implemented all the methods listed on Firebase guides and docs. I don't have any notification