Firebase动态链接支持自定义参数? [英] Firebase dynamic link support custom parameters?

查看:109
本文介绍了Firebase动态链接支持自定义参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



原来每个与会者都会通过电子邮件或短信收到不同的链接,例如



https://example.com/?token=fccfc8bfa07643a1ca8015cbe74f5f17



然后使用这个链接打开应用程序,我们可以通过令牌知道用户是哪个参与者。



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动态链接支持自定义参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆