nudj / nudj-backend

Nudj - Backend (Archive)
0 stars 0 forks source link

Add meta tags for Apple "Smart App Banners" #17

Closed richardbuckle closed 8 years ago

richardbuckle commented 8 years ago

Please add a meta tag to the head of each page on mobileweb and mobileweb-dev as follows:

If the iOS client can open the page (currently job/* and jobpreview/*) then

<meta name="apple-itunes-app" content="app-id=1081609782, app-argument=${URL}">

where ${URL} is something like https://<hostname>/jobpreview/<jobid>/<nudjhash>

If the iOS client cannot open the page then

<meta name="apple-itunes-app" content="app-id=1081609782">
shtukas commented 8 years ago

Done.

You can check by looking at the source of the following pages:

https://mobileweb.nudj.co/jobpreview/25/qyKqDG3gD2
https://mobileweb-dev.nudj.co/jobpreview/13/6aQYLJvPyJ
richardbuckle commented 8 years ago

Tested on an iPhone including following the banner to our page on the App Store. All working nicely. Good job!