firebase-cloud-messaging

Firebase - Swift 4: Message sent but not received

两盒软妹~` 提交于 2020-02-02 14:38:04
问题 Ran pod update on the terminal to update my firebase. However i don't receive FCM's This is my app delegate code: import UIKit import Firebase import FirebaseFirestore import StoreKit import UserNotifications @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate { var window: UIWindow? override init() { super.init() FirebaseApp.configure() // not really needed unless you really need it FIRDatabase.database()

Why must I keep the registration token secret?

你离开我真会死。 提交于 2020-02-02 12:06:20
问题 According to this link, the registration token must be kept secret. Registration token: An ID generated by the FCM SDK for each client app instance. Required for single device and device group messaging. Note that registration tokens must be kept secret. How sensitive is the token? Can anyone with the registration token send notifications to the device? Or is the token specific to my project? What are the risks if some else gets hold of a device registration token? 回答1: How sensitive is the

Not Seeing “Opened” Firebase Notification Stats

给你一囗甜甜゛ 提交于 2020-02-02 06:33:27
问题 I'm manually handling firebase notifications by overriding the onHandle intent of the FirebaseMessagingService. And using the intent I generate a notification. Is there a way to manually report the notification opened to the Firebase at all because I'm not getting opened statistics reported back to the firebase console. As above, even when letting firebase notifications get handled per normal, these open notifications are not being reported either. Thanks! 回答1: The stats shown in the

Not Seeing “Opened” Firebase Notification Stats

给你一囗甜甜゛ 提交于 2020-02-02 06:31:22
问题 I'm manually handling firebase notifications by overriding the onHandle intent of the FirebaseMessagingService. And using the intent I generate a notification. Is there a way to manually report the notification opened to the Firebase at all because I'm not getting opened statistics reported back to the firebase console. As above, even when letting firebase notifications get handled per normal, these open notifications are not being reported either. Thanks! 回答1: The stats shown in the

FCM Open Activity and call fragment when the application is not running on device

旧时模样 提交于 2020-02-01 09:35:06
问题 I'm trying to open a fragment initialized in an Activity through Firebase Cloud Messaging. The fragment call works when the application is open, but once I close the application the push notification only opens the Activity and not the fragment. MyActivity.java @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //All my initial code Intent i = getIntent(); Bundle extras = i.getExtras(); if(extras != null) { String push = extras.getString("push")

FCM - Not registered

余生颓废 提交于 2020-01-30 05:05:15
问题 I'm trying to send a message through FCM to my web app. Unfortunately, I've the following error message and I'm unable to solve it alone... Through POSTMAN I receive that JSON : { "multicast_id": 7441926471010389687, "success": 0, "failure": 1, "canonical_ids": 0, "results": [ { "error": "NotRegistered" } ] } This is the only error message I have. See bellow POSTMAN config POST message I send to FCM Is someone have already facing the same problem ? I unable to find any response to solve my

FCM - Not registered

懵懂的女人 提交于 2020-01-30 05:04:12
问题 I'm trying to send a message through FCM to my web app. Unfortunately, I've the following error message and I'm unable to solve it alone... Through POSTMAN I receive that JSON : { "multicast_id": 7441926471010389687, "success": 0, "failure": 1, "canonical_ids": 0, "results": [ { "error": "NotRegistered" } ] } This is the only error message I have. See bellow POSTMAN config POST message I send to FCM Is someone have already facing the same problem ? I unable to find any response to solve my

FirebaseInstanceId: Error while delivering the message: ServiceIntent not found into MI devices

孤街醉人 提交于 2020-01-30 02:47:21
问题 This error we found when the application is in the background for a long time. This issue I found into Xaiomi devices. I tested into Samsung it's running perfectly but in Xaiomi, it always throwing the same error. 来源: https://stackoverflow.com/questions/58109753/firebaseinstanceid-error-while-delivering-the-message-serviceintent-not-found

Firebase Android - Skipping initialization

拟墨画扇 提交于 2020-01-26 04:09:06
问题 I am currently implementing an Android app, which uses Firebase Cloud Messaging. I've implemented everything according to the tutorial on the Firebase page. However, whenever I try to run my app it seems like the Firebase initialization fails. Both, on an emulator and on a real device I get this debug message: D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization. W/InstanceID/Rpc: Found 10010 D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not

Firebase/Angular: Messages not showing in HTML, but contain the message objects

[亡魂溺海] 提交于 2020-01-25 23:51:05
问题 Good day SO, I am trying to incorporate a basic firebase chat module into my system via angular js (I am honestly not proficient at all..) I am facing a problem whereby my items are not showing in my HTML element although my firebase messages are being retrieved from my firebase database. Here is my HTML code: <html lang="en" ng-app="chatApp"> ... <section id="content3" class="tab-content"> <div class="card mb-3"> <div class="card-header"> <i class="fa fa-comments-o"></i> Instant Chat