简体   繁体   English

Angular Universal Links (Android / IOS) Asset Linking and apple-app-site-association

[英]Angular Universal Links (Android / IOS) Asset Linking and apple-app-site-association

Hey I am having some trouble getting my apple app association file to display correctly.嘿,我在让我的苹果应用程序关联文件正确显示时遇到了一些麻烦。 When you go to the url www.example.com/apple-app-site-association it downloads the file instead of displaying it on the webpage.当您从 go 到 url www.example.com/apple-app-site-association 时,它会下载文件而不是在网页上显示它。

any suggestions on how this can be handled in Angular?关于如何在 Angular 中处理此问题的任何建议?

Thanks!!谢谢!!

My Angular App is deployed on Azure.我的 Angular 应用程序部署在 Azure 上。 The following line of code in web.config has done the deep-linking trick for me and it opens in browser. web.config 中的以下代码行为我完成了深度链接技巧,并在浏览器中打开。

    <staticContent>
      <mimeMap fileExtension="." mimeType="application/json" />
    </staticContent>

I hope it helps.我希望它有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何为 iOS 通用链接和 Android 资产链接设置 Angular 项目以在本机移动应用程序中打开链接 - How to set up an Angular project for iOS universal links and Android asset links to open links in the native mobile apps App的数字资产链接App目标语句列表android清单 - Digital Asset for App Linking for App target statement list android manifest 使用深层/通用链接时,iOS 上是否存在“应用选择器”? - Does "App Picker" exist on iOS when using deep/universal linking? APP IOS AND ANDROID的网站 - Site for APP IOS AND ANDROID Android 深度链接 - 验证应用与网站的链接 - Android Deep Linking - Verify App links with website Facebook应用程式连结(深层连结)在Android上无法运作 - Facebook app links (deep linking) not working on android 深度链接过程的通用URL | Android | 操作系统 卷筒纸 - Universal URL for deep linking process | Android | iOs | Web 链接到外部站点的链接在使用jquery mobile的android平板电脑版本中不起作用 - Links linking to external site are not working in android tablet version with jquery mobile iOS自定义URL方案与Universal Links和Android对应方案 - iOS custom URL schemes vs. Universal Links and Android counterpart 强制外部站点上的链接在iOS或Android应用程序上的UIWebView外部打开 - Force links on external site to open up outside of UIWebView on iOS or Android app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM