如果我的应用程序不在App Store中,该如何测试Firebase动态链接? [英] How can I test Firebase Dynamic Links if my app is not in the App Store?
问题描述
我希望能够在单击动态链接时打开应用程序并打印参数(即使它尚未发布).
I'd like to be able to open the app and print the parameters when I click on the dynamic link (even though it's not published).
有没有办法做到这一点?
Is there a way to do this?
推荐答案
是的!实际上,我在入门视频S (第1部分)中经历了这个确切的过程, (第2部分),我建议您检查是否还没有.
Yes! In fact, I go through this exact process in the getting started videoS (part 1), (part 2), which I recommend you check out if you haven't yet.
但是,通常来说,您只需单击动态链接即可测试如果安装了我的应用,请打开我的应用"流程.如果您的应用程序已安装在设备上,则应该可以正常打开;即使它不是已发布的应用.
But, generally speaking, you can test the "Open my app if I have it installed" flow simply by clicking on a dynamic link. If your app is installed on the device, it should open up just fine; even if it's not a published app.
如果要测试未安装的流程,这也很容易.
If you want to test the non-installed flow, this is pretty easy, too.
- 首先,在您的项目设置中为Firebase项目提供一个应用商店ID.它可以是任何有效的App Store ID-不一定要适合您的应用程序.
- 然后生成一个新的动态链接.
- 这一次,当您单击此新链接时,它将带您进入应用商店以获取上面列出的ID.您不需要实际安装此应用程序-只需将其发布到应用程序商店列表中就足够了.
- 现在,继续安装并运行您的应用程序.如果一切正常,它将为您检索并显示动态链接数据.
这篇关于如果我的应用程序不在App Store中,该如何测试Firebase动态链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!