Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Smart app banners do not appear after being closed on iPad with IOS7

Tags:

ios

ios7

ipad

In short, my team has a mobile site and an app in the appstore. We have added the meta tag to show the smart app banner. I saw it and everything worked as expected. Problem is, I just closed the banner and now it doesn't reappear. I did the same thing with the Ted.com smart app banner with the same results.

Currently, we're using the iPad with IOS7 and I have read all over that it is a cookie preventing the reappearance of the banner. I have cleared Safari's cache and cookies numerous times, made sure to close safari from memory, run safari in private mode, and I've even rebooted the iPad but those dismissed smart banners still don't reappear. Is there something I'm missing? Most of what I've read about the cookies seem to be specific to IOS6, is there a difference here with IOS7? Anyone have an idea as to how to make these dismissed smart app banners reappear?

like image 973
Gobo Avatar asked Oct 16 '13 20:10

Gobo


3 Answers

This issue is solely iOS 7. In iOS 6 all you had to do was clear the Safari cookies and history. Apple must have changed something in how they store if an app banner has been closed in iOS 6 vs iOS 7. Surprise!

The following steps are what I have determined gets the smart-app banner to appear again, confirmed on a device running iOS 7.0.4:

  1. Settings -> Safari -> Clear history
  2. Settings -> Safari -> Clear cookies and data
  3. Settings -> General -> Reset -> Reset Location & Privacy
  4. Settings -> General -> Reset -> Reset All Settings

Not the cleanest, but it gets the job done.

like image 189
Corlock Avatar answered Nov 15 '22 05:11

Corlock


1.remove app from device

2.Settings -> Safari -> Clear History and Website Data

3.Open the safari and open your website

4.Install the app from store

5.reload website

6.good luck

like image 21
Arsen Avatar answered Nov 15 '22 04:11

Arsen


Also had this problem on both iOS8 and iOS9.

Using the info on this page (thanks!), I found the following solution:

USE AT YOUR OWN RISK!

Tested with iTunes 12.3.1.23 on OSX 10.9.5 with iPhone 5S running iOS 8.4.1

  1. Find the app-id by searching the website's source by searching for "app-id" Example for www.marktplaats.nl: <meta name="apple-itunes-app" content="app-id=373963365, app-argument=marktplaats://homepage">
  2. Make a "local computer backup" with iTunes
  3. Find your backup (probably in: ~/Library/Application Support/MobileSync/)
  4. Make a copy of your backup just in case (Yes: a backup of a backup :-)
  5. Search backup for the app-id. I used: grep "373963365" -r * in the Backup folder
  6. For my example grep found a "hide banner file" starting with 03f01e41fc5d containing the app-id:

bplist00—Y373963365

  1. Change the app-id number to an app-id number from which you never want to see a smart app banner or just increment the app-id by one and save the file.
  2. Restore the changed backup to your device.

Notes:

  • Making, copying, searching and restoring a backup takes some time if you have a 16GB backup like me; be patient.
  • You might find multiple app-ids in the "hide banner file". I don't see why this procedure wouldn't work for changing multiple app-ids
  • Don't delete the "hide banner file" as this will corrupt your backup.
  • Incrementing the app-id by one or choosing any other 9 figure random number will hide that "random" smart app banner!
  • I also successfully did this on a new iPad running iOS 9.0.2

For those who want to go the jailbreak way: I found the file on a jailbroken iPad here: /var/mobile/Containers/Data/Application/{Safari App ID}/Library/Webkit/StoreBannerTracker.plist

@Apple: why can't we just delete this using Clear History and Website Data ????

like image 25
JdenHartog Avatar answered Nov 15 '22 05:11

JdenHartog