homescreen
How do you force an iPad home screen bookmarked web app to refresh?
Another workaround is to add ?v=1 to your Javascript and CSS links. For example: <link rel=”stylesheet” type=”text/css” media=”all” href=”https://stackoverflow.com/questions/8792255/./css/ipad.css?v=1″> <script src=”./js/ipad.js?v=1″></script> It seems one doesn’t have to update the number when your file has changed, as far as I can tell. Apparently, on an iPad 2 with the latest software update installed, it is enough … Read more
How to Remove Chrome Logo from PWA App Home Screen Link (Android O Preview)
Above answer is not accurate except for the part that Chrome had the issue of adding Chrome badge to App icon, which is changed in the following updates. Before getting into whats wrong, here is how web apps are added to home screen. 1) As a simple shortcut(like a bookmark), when the users web browser … Read more
How can I create a custom home-screen replacement application for Android?
Writing your own home screen application is possible. It is called the Launcher. You can get the source code of the default Android Launcher via Git. The project URL is: https://android.googlesource.com/platform/packages/apps/Launcher2.git You can get the source code like this: git clone https://android.googlesource.com/platform/packages/apps/Launcher2.git That will create a directory called Launcher2 for you. Now you can get … Read more
check if user has already installed PWA to homescreen on Chrome?
Perhaps, don’t show the button until you intercept the automatic pop-up? or In your code, check to see if the window is standalone If it is, you need not show the button if (window.matchMedia(‘(display-mode: standalone)’).matches) { // do things here // set a variable to be used when calling something // e.g. call Google Analytics … Read more
Red dot (circle) next to the app name below the app icon on the iPhone Home Screen on iOS 8
An Orange dot next to an app normally means it’s a beta version, as installed through Testflight. I have a couple of those at the moment, though one looks more red. Trying to find if there’s a difference between an orange and a red dot, or if it’s just an artefact of the colour of … Read more
Android create shortcuts on the home screen
The example code uses undocumented interfaces (permission and intent) to install a shortcut. As “someone” told you, this may not work on all phones, and may break in future Android releases. Don’t do it. The correct way is to listen for a shortcut request from the home screen– with an intent filter like so in … Read more
Going to home screen programmatically
You can do this through an Intent. Intent startMain = new Intent(Intent.ACTION_MAIN); startMain.addCategory(Intent.CATEGORY_HOME); startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(startMain); This Intent will start the launcher application that the user has defined. Be careful with this because this will look like your application crashed if the user does not expect this. If you want this to build an exit button … Read more
Javascript for “Add to Home Screen” on iPhone?
Until Safari implements Service Worker and follows the direction set by Chrome and Firefox, there is no way to add your app programatically to the home screen, or to have the browser prompt the user However, there is a small library that prompts the user to do it and even points to the right spot. … Read more