Thumbs up for more app like feeling. “Why isn’t there an app for Discourse” is something that has been asked in our trial of the platform. Not an entirely easy answer for non-technical users.
1 Like
Falco
(Falco)
March 23, 2016, 2:49pm
22
Nice, this is the idea. With app banners landing somewhere after March (1.6 beta start) it will be even easier to non-tech to “install” Discourse.
Looks like the orientation on the manifest file isn’t a suggestion, but rather a lock . I will test when at home if I can safely remove this.
1 Like
Any other tweaks needed here @falco ?
1 Like
Falco
(Falco)
April 14, 2016, 1:50am
24
Yes.
I need to:
Check portrait lock
Instantiate the service worker only on Android as per @eviltrout advice.
This week I can fix those.
5 Likes
Falco
(Falco)
April 14, 2016, 11:47pm
25
I just did the changes pointed by @eviltrout
I’m open to make any adjustments.
2 Likes
downey
(Michael Downey)
April 20, 2016, 9:38pm
26
Loaded this today on Meta and my own site. Very nice!
But a question, how do I change the icons? Home screen icon is not matching our favicon and the splash screen is blank.
Also some people have the option and some don’t …
1 Like
Falco
(Falco)
April 20, 2016, 9:44pm
27
It’s using apple_touch_icon_url,
It shows following google rules.
According to Google it does:
Appear on the second visit:
The user has visited your site at least twice, with at least five minutes between visits.
If the user dismiss the banner it never comes back:
If a user dismisses the banner, will it appear again? No. Not unless the user clears their history. We want to make sure users have a good experience. We will likely be changing all the heuristics over time.
The implementation can get better, we can defer the banner till we feel like.
Als…
4 Likes
erlend_sh
(Erlend Sogge Heggen)
April 20, 2016, 10:36pm
28
Great work on this!
You’re very welcome to start a (linked) fresh topic to properly introduce the feature, that way it’s easier to share in a tweet as well
2 Likes
downey
(Michael Downey)
April 20, 2016, 11:14pm
29
I did manually remove both and then manually re-add them using the Chrome menu “Add to Home Screen” because I wanted a shorter title under the icon, e.g. just “Meta”.
erlend_sh
(Erlend Sogge Heggen)
Closed
April 22, 2016, 5:21pm
30
Discussion continued here:
Continuing the discussion from Fully support Android Chrome's "Add to Homescreen" :
If any of you guys visited meta on the last days with an Android Phone (using the default Chrome Browser) you may have seen this:
[image]
This is Google App Banner feature, and it’s live on latest Discourse.
Clicking Add to Home Screen will create a shortcut on your phone home screen, using your forum name and icon, that when clicked will show a splash screen like this:
[image]
The background color is the …