-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Sites with PWAs showing "Add to home screen" instead of "Install" on Samsung S8 and N9 #9692
Comments
After discussing this in triage, it seems like what's happening is the language is wrong but it's properly installing the PWA (at least on twitter with Galaxy S9). Let's investigate why it's intermittently showing the wrong text (sometimes we're seeing install, sometimes "add to homescreen" even on the same device & site after a refresh) |
@rocketsroger may have some more insights here but we can discuss during AC sprint planning. |
I figured out what is happening here and it's a Fenix bug: It will only read as "Install" if this item is hightlighted. fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt Lines 140 to 142 in 177baf5
But it will only be highlighted if this is true. But fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt Lines 264 to 268 in 177baf5
This was a fairly recent regression added in PR #8805 for #8800 |
I don't know if it is related, but on my Pixel 2 XL feedbin.com shows "Add to home screen" instead of "Install" even if you can install it as a PWA with Chrome. |
@serovar definitely related! The fix I just landed should be in the next Nightly, but for now if you click "Add to homescreen" for an installable PWA will still install it as a PWA. :) |
Maybe it is not related then, since if I tap it, it adds a shortcut on my home screen, that simply opens a new tab on Fenix (while it opens properly borderless if I add it to the home screen with Chrome). I will open a new issue when I have the time, thanks for clarifying :) |
@serovar yes if you could open a new issue with what app you're trying to install that would be great. Thanks! |
Hi @ekager , I've just checked this matter on both ✔️ Debug build from Master 4/14 ❌ Fenix Beta - behind a feature flag Considering that its fixed on Nightly and due to the fact that it's behind a feature flag which makes it unavailable on Beta 4.3.0 I'll mark this verified as fixed |
Steps to reproduce
Install
optionExpected behavior
Actual behavior
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: