使用 reactJS 制作推荐奖励系统

Making a referral reward system using reactJS

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

在网络上您不需要 Firebase 动态链接,但您可以使用指向 build a link to a specific page in your app that you want to apply the reward on and to then parse the information from the link on that page.

的常规超链接

您链接的文档中的其余方法(例如 Cloud Function awarding the reward)应该仍然有效。

如果您在 use-case 上遇到问题,我们很可能会在您 post minimal, complete, verifiable example 遇到困难时提供帮助。