lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

25747058: Smart App Banner does not Appear when Url not in apple-app-site-association #12045

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

Summary: We have Smart App Banner meta tags on our web page. The app-argument url (url A) differs from the url the Smart App Banner meta tag is on (url B) though. In our apple-app-site-association file, we only have url A, not url B. The Smart App Banner does not appear in that case. Only when we add url B to the apple-app-site-association file, which we want to avoid.

Steps to Reproduce:

Expected Results: When in Mobile Safari navigating to the website https://www.mywebsite.com/web/only/url/path, and the app is installed, the Smart App Banner should show up, and show the "Open" Button.

Actual Results: No Smart App Banner shows up.

Interestingly, when adding "/web/only/url/path" to the apple-app-site-association file, the Smart App Banner DOES show up. But our app does not support this url as an app argument, so we cannot add this to our apple-app-site-association file. This behavior does not make any sense, we think there is a bug in Safari when it decides if the Smart App Banner should be shown.

Regression: Tried on different iPads and iPhones with several iOS 9 versions, especially 9.3.1.

Product Version: 9.3.1 Created: 2016-04-15T12:22:38.847270 Originated: 2016-04-15T14:22:00 Open Radar Link: http://www.openradar.me/25747058

openradar-mirror commented 8 years ago

Modified: 2016-04-15T12:22:38.847430