【问题标题】:Firebase inAppMessaging events not getting capturedFirebase inAppMessaging 事件未被捕获
【发布时间】:2020-05-19 21:17:14
【问题描述】:

我正在从 firebase 控制台发送 inApp 消息。消息正在传递,但我无法从中捕获事件,即关闭事件、印象事件、点击事件。所有资源都在最新版本(Xcode、cocoa pods、firebase)上。谁能帮帮我。

【问题讨论】:

    标签: ios swift firebase swift2 firebase-in-app-messaging


    【解决方案1】:
        InAppMessaging.inAppMessaging().delegate = self 
    

    将 appDelegate 扩展为 InAppMessagingDisplayDelegate

    【讨论】:

    • 我在询问应用内事件,而不是在仪表板上。
    • @hussain 你有自己的代表吗??
    • 我做错了,正确的方法是将委托扩展到应用程序委托,而不是任何 NSObject
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多