使用reactJS制作推荐奖励系统

时间:2020-08-27 08:57:24

标签: reactjs firebase firebase-dynamic-links referrals

我正在尝试使用reactJS和firebase动态链接创建引荐系统,但对于使用动态链接部分确实感到困惑。 Firebase文档说它支持swift,Java和Kotlin,但我的应用程序是在浏览器上运行的webapp。如何在我的应用程序中使用推荐奖励? 文档链接: https://firebase.google.com/docs/dynamic-links/use-cases/rewarded-referral

1 个答案:

答案 0 :(得分:2)

在网络上,您不需要Firebase动态链接,但可以使用到build a link to a specific page in your app that you want to apply the reward on然后到parse the information from the link on that page的常规超链接。

您链接的文档中的其余方法(例如Cloud Function awarding the reward)仍然可以使用。

如果您无法使其适合您的用例,那么当您发布minimal, complete, verifiable example的问题时,我们很可能会提供帮助。