1

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

.setOtherPlatformsTargetApplication(AppInviteInvitation.IntentBuilder.PlatformMode.PROJECT_PLATFORM_IOS, "xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com")

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


解决了

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

.setDeepLink(Uri.parse(getString(R.string.app_name)))

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

4

0 回答 0