【问题标题】:notifications funnel in Firebase Console doesn't marks a message as "Opened" even when the message is delivered and openedFirebase 控制台中的通知渠道不会将消息标记为“已打开”,即使消息已传递并打开也是如此
【发布时间】:2016-07-16 17:55:09
【问题描述】:

我使用 Firebase 和我的 android 应用程序进行测试, 然后我使用 Firebase 控制台向我的手机发送通知, 通知已成功发送到我的手机,但是当我打开它时,通知漏斗不会将消息标记为“已打开”。 是什么原因造成的??

我包含一个带有大红色箭头的编辑图像,以使事情更清楚, 谢谢。

图片:http://i.stack.imgur.com/59zTy.png

【问题讨论】:

    标签: firebase-notifications


    【解决方案1】:

    我什至没有看到发送的号码(它仍然是 0)

    【讨论】:

      【解决方案2】:

      在AppDelegate.m中设置如下代码,在Info.plist中设置“FirebaseAppDelegateProxyEnabled = No”

      // With "FirebaseAppDelegateProxyEnabled": NO
        - (void)application:(UIApplication *)application
          didReceiveRemoteNotification:(NSDictionary *)userInfo
                fetchCompletionHandler:
                    (void (^)(UIBackgroundFetchResult))completionHandler {
        // Let FCM know about the message for analytics etc.
        [[FIRMessaging messaging] appDidReceiveMessage:userInfo];
        // handle your message.
      }
      

      【讨论】:

      猜你喜欢
      • 2023-03-08
      • 2020-10-27
      • 2016-09-22
      • 2016-12-02
      • 2020-12-31
      • 2013-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多