Flutter Deep Link Firebase in iOS

huangapple go评论56阅读模式
英文:

Flutter Deep Link Firebase in iOS

问题

我的深度链接在Android上运行正常,并将信息传递到应用程序,但在iOS上不起作用
Firebase链接

https://dvzpl.com

我的短链接

https://dvzpl.com/6BG2
我的域名

https://dovizpanel.com/

我的关联域名


aps-environment
development
com.apple.developer.associated-domains

webcredentials:dvzpl.com
applinks:dvzpl.com

如何修复?
当我在浏览器中打开短链接时,它进入应用程序,但在iOS中不传输数据,Android工作正常

FirebaseDynamicLinksCustomDomains

https://dovizpanel.com/blog
https://dovizpanel.com/exchanger
https://dovizpanel.com/link

英文:

My deep link works fine on Android and transfers information to the app, but it doesn't work on iOS
Firebase Link

https://dvzpl.com

my short link

https://dvzpl.com/6BG2

my domain

https://dovizpanel.com/

my associated domain

<dict>
	<key>aps-environment</key>
	<string>development</string>
	<key>com.apple.developer.associated-domains</key>
	<array>
		<string>webcredentials:dvzpl.com</string>
		<string>applinks:dvzpl.com</string>
	</array>
</dict>

how to fix ?
When I open the short link in the browser, it goes into the app but does not transfer the data in ios , android working not problams

<key>FirebaseDynamicLinksCustomDomains</key>
<array>
    <string>https://dovizpanel.com/blog</string>
    <string>https://dovizpanel.com/exchanger</string>
    <string>https://dovizpanel.com/link</string>
</array>

答案1

得分: 2

如果您正在使用自定义域名进行 Firebase 动态链接,请按照以下说明操作:

在您的 Xcode 项目的 Info.plist 文件中,创建一个名为 FirebaseDynamicLinksCustomDomains 的键,并将其设置为您的应用程序的动态链接 URL 前缀。例如:

<key>FirebaseDynamicLinksCustomDomains</key>
<array>
  <string>https://dvzpl.com</string>
</array>

您可以直接在Firebase文档中找到更多详细信息。

英文:

If you are using a custom domain for firebase dynamic links follow the instructions below:

In your Xcode project's Info.plist file, create a key called FirebaseDynamicLinksCustomDomains and set it to your app's Dynamic Links URL prefixes. For example:

&lt;key&gt;FirebaseDynamicLinksCustomDomains&lt;/key&gt;
&lt;array&gt;
  &lt;string&gt;https://dvzpl.com&lt;/string&gt;
&lt;/array&gt;

You can find more details directly in the Firebase documentation.

huangapple
  • 本文由 发表于 2023年6月1日 17:57:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/76380728.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定