问题标签 [firebase-in-app-messaging]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2551 浏览

android - Firebase 应用内消息 PERMISSION_DENIED

我确实在 App 消息传递中设置了 firebase。已创建广告系列,但我的应用无法投放。在 logcat 我得到以下日志

设置

安卓工作室 3.3.1

com.google.firebase:firebase-inappmessaging-display:17.0.5

com.google.firebase:firebase-core:16.0.7

在 Google Cloud Console 中启用的应用程序消息 API 中的 Firebase

可能是什么原因?

0 投票
2 回答
112 浏览

android - Firebase 应用内消息在我们需要选项时发送消息?

我已经成功实现了 firebase 应用内消息传递,工作正常。是否有任何选项可以随时发送应用内消息?

0 投票
1 回答
1399 浏览

android - 如何自定义 Firebase 应用内消息?

我正在使用仅图像消息布局,并附上当前实现的屏幕截图。

firebase-in-app-message 我需要这个图像对话框填满整个屏幕。是否可以进行任何配置或定制来实现它?或者这个对话框有哪些可能的定制?

另外,我们可以为顶部横幅或模式消息布局文本设置字体吗?

0 投票
2 回答
1401 浏览

android - 显示消息回调未调用 - Firebase 应用内消息

我正在尝试自定义 firebase 应用内消息。

我正在关注这篇文章:https ://firebase.google.com/docs/in-app-messaging/customize-messages

根据文章,我创建了自己的FirebaseInAppMessagingDisplay 类实现。

然后使用无头 Firebase In-App Messaging SDK 注册此实现

}

我的问题是,我没有收到 displyaMessage() 回调。

当我从 Application 类中注释掉这行代码时" FirebaseInAppMessaging.getInstance().setMessageDisplayComponent(new MyMessageDisplayImplementation());",它显示了默认消息。但是,当我把这段代码放回去时,什么都没有发生。

如果有人对此应用内消息自定义有更好的了解,请提供帮助。

0 投票
1 回答
442 浏览

android - 在 android studio 的应用程序消息中运行 firebase 时出错?

在应用程序消息库实现“com.google.firebase:firebase-inappmessaging-display:17.1.0”和实现“com.google.firebase:firebase-iid:17.1.0”中添加firebase时出现以下错误

错误

0 投票
2 回答
966 浏览

android - firebase In-App Messaging throws NullPointerException on Android

There is some major bugs in the firebae in-app messaging.

I already wrote some bug reports to google, but as always google support is very reticent to acept their system is full of flaws...

I'm writing this information here because sometimes google likes to work better through stackoverflow and to awarn other users DON'T USE IN-APP MESSAGING IN A PRODUCTION APP

Firebase in app messaging is the new google tool to let you send pop-ups to your users while running your app...
The api was made to be codeless, all you need to do is import the api and configure the firebase dashboard (ZERO LINES OF CODING)

https://firebase.google.com/docs/in-app-messaging/get-started https://www.youtube.com/watch?v=5MRKpvKV2pg

but after installing it, around 1% of my sessions started getting errors. EVEN NULLPOINTEREXCEPTION

how can i be doind something wrong in an api which i didn't wrote a single line of code with? (well firebase support still says i'm doing something wrong)

and also

for this last one crashlytics even say:

This crash is usually caused by your app trying to display a dialog using a previously-finished Activity as a context. For example, this can happen if an Activity triggers an AsyncTask that tries to display a dialog when it is finished, but the user navigates back from the Activity before the task is completed.

as far as i know there is absolutelly nothing i can do, since i've no way to catch this exceptions or somehow change the lib behavior. So if you willing to add this tool to your app, beaware it is still very unstable

0 投票
1 回答
608 浏览

android - 添加 Firebase 应用内消息后的问题

我在我的项目中添加了 Firebase 应用内消息传递。使用 Gradle 文件同步项目是成功的,但是当我运行应用程序时,它会抛出错误:

并且对于

它显示以下错误

我的 Gradle 文件是:

下面是我的项目 gradle 文件。

无法修复我的错误,我尝试更新我的 Gradle 和 api。

0 投票
0 回答
829 浏览

firebase - 如何修复 iOS 版 Firebase 上的应用内消息延迟

我正在 iOS 应用上测试 Firebase 应用内消息传递。当我创建一个广告系列时,它看起来像是弹出窗口实际出现在应用程序中的延迟(大约一个小时到一个半小时)。我想知道是否有任何方法可以解决这个问题,或者这是否很常见。我无法找到当前可用的任何答案。

0 投票
0 回答
383 浏览

firebase - Firebase-inappmessaging-display 的 Dagger 2.8 问题

我有一个使用 dagger 2.8 的项目,该项目与 firebase-messaging 和 firebase-core 库完美配合,但是当我尝试添加新的 firebase-inappmessaging-display 库时,当我尝试编译应用程序时,我有一个匕首错误:

原因:dagger.Provides 缺少元素类型

构建.gradle

建造

谢谢

0 投票
0 回答
248 浏览

android - How to trigger FireBase inappmessage at particular time when we are in app

I placed fire-base in app messaging in my app. While open the app i got in app message correctly when sent from console. now how to send in app message when user opened 3 times or any other condition he should get that in app message? please help.