FIAM:触发事件时,firebase不显示消息

时间:2019-07-30 13:01:21

标签: android firebase firebase-in-app-messaging

我尝试以编程方式触发事件(firebase应用内消息),但是firebase没有显示任何消息。

在日志中,我看到了:

2019-07-30 16:47:07.514 1890-1918/ru.ed.com.test.debug W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/ru.ed.com.test.debug/files/fiam_eligible_campaigns_cache_file (No such file or directory)
2019-07-30 16:47:07.515 1890-1918/ru.ed.com.test.debug W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/ru.ed.com.test.debug/files/fiam_impressions_store_file (No such file or directory)
2019-07-30 16:47:07.523 1890-1918/ru.ed.com.test.debug I/FIAM.Headless: Fetching campaigns from service.
2019-07-30 16:47:07.528 1890-1918/ru.ed.com.test.debug W/DynamiteModule: Local module descriptor class for providerinstaller not found.
2019-07-30 16:47:07.540 1890-1918/ru.ed.com.test.debug I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
2019-07-30 16:47:07.541 1890-1918/ru.ed.com.test.debug W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
2019-07-30 16:47:07.542 1890-1918/ru.ed.com.test.debug W/FIAM.Headless: Service fetch error: value

我是这样触发的:

FirebaseInAppMessaging.getInstance().triggerEvent("Draft campaign")

有人可以帮助我吗?怎么了?

1 个答案:

答案 0 :(得分:-1)

triggerEvent()用于Google Analytics(分析)事件,而非广告系列名称