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

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