问题描述
原来每个与会者都会通过电子邮件或短信收到不同的链接,例如
然后使用这个链接打开应用程序,我们可以通过令牌知道用户是哪个参与者。
Firebase发布了一个新的功能动态链接在I / O 2016年,它提供了更好的用户体验。
我曾尝试过,但我找不到任何方式来传递自定义参数(在动态链接中,如何使用不同参数的同一链接给我的用户?
谢谢。
https://< my app> .app.goo.gl / Gk3m
除非您为每个用户创建一个,但是您可以使用长url:
https://< my app > .app.goo.gl /?link = https://example.com/?token = fccfc8bfa07643a1ca8015cbe74f5f17 ...(根据需要添加其他参数)
并设置新的令牌为每个用户。
我假设你自动生成标记。在这种情况下,您可以使用缩短链接。
I am writing a App for a Open Source Conference.
Originally each attendees will receive different link via email or SMS like
https://example.com/?token=fccfc8bfa07643a1ca8015cbe74f5f17
then use this link to open app, we can know the user is which attendee by the token.
Firebase release a new feature Dynamic Links in I/O 2016, it provide better experience for users.
I had try that, but I can't find any way to pass the custom parameters (the token) in dynamic links, how to use the same link with different parameters to my users?
Thanks.
I don't think you can use the short url:https://<my app>.app.goo.gl/Gk3m
unless you create one for each user, but you can use the long url:https://<my app>.app.goo.gl/?link=https://example.com/?token=fccfc8bfa07643a1ca8015cbe74f5f17 ...(add other parameters as needed)
and set new token for each user.
I assume you generate the tokens automatically. In that case you can use this to shorten the links.
这篇关于Firebase动态链接支持自定义参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!