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)
Falco
(Falco)
23 مارس 2016، 2:49م
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)
Any other tweaks needed here @falco ?
إعجاب واحد (1)
Falco
(Falco)
14 أبريل 2016، 1:50ص
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 إعجابات
Falco
(Falco)
14 أبريل 2016، 11:47م
25
I just did the changes pointed by @eviltrout
I’m open to make any adjustments.
إعجابَين (2)
downey
(Michael Downey)
20 أبريل 2016، 9:38م
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)
Falco
(Falco)
20 أبريل 2016، 9:44م
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 إعجابات
erlend_sh
(Erlend Sogge Heggen)
20 أبريل 2016، 10:36م
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)
downey
(Michael Downey)
20 أبريل 2016، 11:14م
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)
تم إغلاقه في
22 أبريل 2016، 5:21م
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 …