微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如果未安装应用程序,Branch.io 链接不会打开应用程序商店

如何解决如果未安装应用程序,Branch.io 链接不会打开应用程序商店

我们正在使用 branch.io 创建深度链接

  • 如果应用已安装,请打开应用
  • 如果应用安装,请打开应用商店

不幸的是,未安装应用的情况不适用于我们使用 branch.io API 创建的链接

以下数据发送到API(POST /v1/url)

2021-06-08T09:15:42.1278098Z $RuntimeException/   at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName,IScriptExtent errorPos)
2021-06-08T09:15:42.1413212Z    at System.Management.Automation.Language.Compiler.NewOutputTypeAttribute(AttributeAst ast)
2021-06-08T09:15:42.1462865Z    at System.Management.Automation.Language.Compiler.GetAttribute(AttributeAst attributeAst)
2021-06-08T09:15:42.1465059Z    at System.Management.Automation.Language.ScriptBlockAst.<System-Management-Automation-Language-IParameterMetadataProvider-GetScriptBlockAttributes>d__68.MoveNext()
2021-06-08T09:15:42.1466223Z    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
2021-06-08T09:15:42.1485936Z    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
2021-06-08T09:15:42.1503023Z    at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata()
2021-06-08T09:15:42.1633625Z    at Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.GetScriptCmdlet.<ProcessRecord>b__16_0(FunctionInfo fi)
2021-06-08T09:15:42.1635647Z    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
2021-06-08T09:15:42.1637257Z    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
2021-06-08T09:15:42.1693162Z    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
2021-06-08T09:15:42.1719336Z    at Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.GetScriptCmdlet.ProcessRecord()
2021-06-08T09:15:43.3829832Z ##[error]Unable to find type [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation].
2021-06-08T09:15:43.5666125Z ##[error]PowerShell exited with code '1'.

在 branch.io 仪表板上,我们配置了当未安装应用程序时,应用程序商店应为 openend。但是在使用API​​ 时似乎忽略了branch.io仪表板的配置? 如果应用尚未安装,我必须设置哪些参数才能将移动用户重定向到应用商店?

PS:当我从 branch.io 仪表板创建“快速链接”时,一切正常。我的问题仅与 REST API 有关。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。