# Fully support Android Chrome's "Add to Homescreen"

**URL:** https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067
**Category:** Feature
**Created:** [2014 年 10 月 13 日午前 5:25 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067 "2014-10-13T05:25:07Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![Rob\_Nicholson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rob_nicholson/32/63483_2.png) [@Rob\_Nicholson](https://meta.discourse.org/u/Rob_Nicholson)
#### Post date: [2016 年 3 月 23 日午後 2:44 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/21 "2016-03-23T14:44:00Z")

</div>

> [@Falco](#):
>
> I just added more entries to get a better app feeling

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.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2016 年 3 月 23 日午後 2:49 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/22 "2016-03-23T14:49:11Z")

</div>

> [@Rob\_Nicholson](#):
>
> 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.

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.

> [@Rob\_Nicholson](#):
>
> However when I’ve just tried this with Discourse, it’s stuck in portrait mode - rotate to landscape doesn’t work.

Looks like the orientation on the manifest file isn’t a suggestion, but rather a lock :sadpanda:. I will test when at home if I can safely remove this.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016 年 4 月 14 日午前 12:34 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/23 "2016-04-14T00:34:15Z")

</div>

Any other tweaks needed here @falco?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2016 年 4 月 14 日午前 1:50 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/24 "2016-04-14T01:50:57Z")

</div>

Yes.

I need to:

- Check portrait lock
- Instantiate the service worker only on Android as per @eviltrout advice.

This week I can fix those.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2016 年 4 月 14 日午後 11:47 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/25 "2016-04-14T23:47:57Z")

</div>

I just did the changes pointed by @eviltrout

I’m open to make any adjustments.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [2016 年 4 月 20 日午後 9:38 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/26 "2016-04-20T21:38:43Z")

</div>

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 …

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2016 年 4 月 20 日午後 9:44 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/27 "2016-04-20T21:44:11Z")

</div>

> [@downey](#):
>
> But a question, how do I change the icons? Home screen icon is not matching our favicon and the splash screen is blank.

It’s using apple\_touch\_icon\_url,

> [@downey](#):
>
> Also some people have the option and some don’t …

It shows following google rules.

> [@Fully support Android Chrome's "Add to Homescreen"](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/19):
>
> 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…

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2016 年 4 月 20 日午後 10:36 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/28 "2016-04-20T22:36:02Z")

</div>

Great work on this! :fonzie:

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 😉

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [2016 年 4 月 20 日午後 11:14 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/29 "2016-04-20T23:14:51Z")

</div>

> [@Falco](#):
>
> It shows following google rules.

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”. 🙂

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2016 年 4 月 22 日午後 5:21 UTC](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/30 "2016-04-22T17:21:21Z")

</div>

Discussion continued here:

> [@Add to homescreen banner on Android](https://meta.discourse.org/t/add-to-homescreen-banner-on-android/42973):
>
> Continuing the discussion from [Fully support Android Chrome's "Add to Homescreen"](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/28): 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: 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: The background color is the …

[前のページ](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067.md?page=1)
