Code Monkey home page Code Monkey logo

Comments (6)

ChristopherALewis avatar ChristopherALewis commented on May 24, 2024

Can you specify what version of iOS you have and what device please.

from add-to-homescreen.

mohammadanwar avatar mohammadanwar commented on May 24, 2024

Device is iPhone and version of iOs is 6.0

Below are the steps to reproduce issue:

Step 1: open website in iphone's safari browser.
Step 2: It will show you a popup and then add it to home.
Step 3: Clear browser cache and history.
Step 4: Reload the page. Again it will show you a popup.

from add-to-homescreen.

rushweb avatar rushweb commented on May 24, 2024

Any progress on this? I'm seeing the same issue iPhone 5 iOS 6.0.1

You can test my installation of your great script :-) on your iPhone at http://visionsource-bgeyes.eyehub.com

If you add the icon to your homescreen and then go to the site using that icon. All is well until you go to another page within the site.

It seems the script should look for a bookmark containing the root url, in this case "visionsource-bgeyes.eyehub.com", to determine if it should display the add-to-home popup again. Cookies won't be reliable since these can easily be cleared. If this is the only way, then a cookie with no expiration date containing the root url would also work I would think.

Really would like a fix for this. I've already donated, but I'll commit to donate a little more if this gets fixed. I know, as a programmer myself, that it's not always as simple as it sounds.

Thanks.

from add-to-homescreen.

PlippiePlop avatar PlippiePlop commented on May 24, 2024

What about using localStorage to store information if the site is saved as a web app. To my knowladge localStorage data is not cleared from cache (only localSession)

from add-to-homescreen.

jackyon avatar jackyon commented on May 24, 2024

I try set cookie, but also failed. anyone can give nice solution?

from add-to-homescreen.

cubiq avatar cubiq commented on May 24, 2024

if you clean up the cache there's no way to know if the user added the site to the bookmarks. exception is if you correctly set

from add-to-homescreen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.