问题标签 [firebase-invites]

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 投票
0 回答
500 浏览

ios - 如何在 iOS 中测试 Firebase 邀请?

我正在使用 Firebase 邀请使用推荐代码邀请朋友。我需要知道如何在我的 iOS 应用程序中处理以下场景。

我已按照指南进行 Firebase Invite 实施。

案例 1: iPhone 上未安装应用程序,用户通过邀请安装应用程序。我需要"deeplink"来自被邀请者的参数集中的推荐代码。或应用程序已安装且当前未运行用户单击电子邮件中的邀请 url。

解决方案>>据我所知,didFinishLaunchingWithOptions方法内部的代码将处理这种情况。

案例 2:应用程序已安装且当前在 iPhone 上运行,用户点击电子邮件中的邀请链接。

解决方案>> AppDelegate 中的以下方法将处理我假设的代码。

问题是我找不到测试任何场景的方法。谁能指出我正确的方向。

谢谢您的帮助。

0 投票
0 回答
222 浏览

android - Firebase 邀请给出错误 Google Play 服务已停止

我在我的应用程序中集成了 Firebase 邀请服务,但是当我从 Firebase 邀请默认电子邮件选择器屏幕单击发送按钮时,它给了我一个错误“Google Play 服务已停止”。

请帮我解决这个错误。 项目级 Gradle 配置App 级 Gradle 配置文件 谢谢。

0 投票
1 回答
330 浏览

android - Google Firebase 邀请使用的消息/短信邀请。网络运营商是否收费?

我想了解一旦应用与 Google Firebase 集成并且我们使用SMS / Message. 它是通过运营商网络发送的,我的意思是它会由其网络运营商向邀请发件人收费,还是通过一些谷歌的服务器发送。用户/发件人不会被收取任何费用。

0 投票
1 回答
1197 浏览

android - Firebase Appinvites 返回 resultCode 3

我想尝试来自 firebase 的应用程序邀请 - 不幸的是 onActivityResult 使用 onActivityResult 3 报告。仅使用本文档中的代码:https ://firebase.google.com/docs/invites/android

我得到:

在我选择一个联系人并看到我通过的标题和文本之前 - 不幸的是日志中没有任何提示。

SHA-1 已输入并适用于该应用程序(已成功使用其中的 firebase 分析)

0 投票
2 回答
704 浏览

android - Firebase 邀请说邀请已发送但未收到任何邀请?

我在 firebase 控制台中添加了 SHA1 调试和发布密钥,仍然没有运气为什么没有发送邀请?

我是 firebase 邀请的新手,并根据文档实施:

// 无论成功还是失败,我的 Toast 文本都不会出现,因为我得到 65537 作为请求代码和 -1 作为结果代码

Firebase 邀请

0 投票
1 回答
188 浏览

ios - Google+ Firebase Invites iOS9

Firebase integration document for G+ Invites says:

Object for FIRInvites gets created but the methods of this class cant be accessed. I'm getting the following error msg:

error : No visible @interface for 'FIRInvites' declares the selector 'setInviteDelegate:'

Calling the method without creating the object doesn't fire the above error or warnings but calls the delegate method inviteFinishedWithInvitations:

Instead I get new error as follows:

Error Domain=com.google.gpp.invite Code=-497 "Cannot launch the Invite Widget because message is not set." UserInfo={NSLocalizedDescription=Cannot launch the Invite Widget because message is not set.}

Please help me solve this issue. Thanks in advance.

0 投票
0 回答
192 浏览

android - iOS 返回页面 404 中的 Firebase 邀请与 OtherPlatform

我在我的 Android 应用中添加了 Firebase App Invites。我正确设置了 AppInviteInvitation.IntentBuilder 附加:

邀请已成功发送,但如果我用 iOS 设备打开邮件,安装链接不起作用!他们被定向到带有错误 404 的 Google Plus 页面。


解决了

我在我的项目中不使用深层链接,但 Firebase 也需要。我添加了这一行:

并且邀请现在也可以在其他平台上使用。

0 投票
1 回答
297 浏览

android - Firebase 邀请发送电子邮件但不发送短信。返回结果代码 0

我正在尝试使用 Firebase 在我的 Android 应用中实现 App Invite 系统。该代码与他们的指南中给出的代码完全相同。

我的问题是:

  • 我可以在我的联系人中选择电子邮件,它会向他们发送电子邮件邀请。但是,它仍然返回resultCode0 并且ids为空。
  • 当我从显示的联系人列表中选择一个电话号码时,片段/活动力关闭并再次resultCode为 0。
0 投票
2 回答
2057 浏览

android - Firebase 邀请说邀请已发送但尚未收到

我正在尝试使用 Firebase 邀请发送邀请。当从联系人中选择一封电子邮件时,Firebase 表示已发送邀请,但从未收到该电子邮件。

在控制台上配置了 SHA1 证书。

返回的错误代码始终为 RESULT_OK,并且从 AppInviteInvitation.getInvitationIds 返回的邀请数是正确的。

SDK 在 gradle 上更新为最新版本 10.0.1,如文档中所述。

创建邀请的代码是:

有任何想法吗?

0 投票
1 回答
70 浏览

android - Android Firebase 邀请应用说明未本地化

邀请电子邮件中自动包含的应用程序描述未本地化。在设备上看起来独立,帐户语言包含在电子邮件中的应用程序描述是英语。难道我做错了什么?不应该自动本地化吗?