# Native app install banner for Android and iOS

**URL:** https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056
**Category:** Feature
**Created:** [January 2, 2017, 2:46pm UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056 "2017-01-02T14:46:29Z")
**Posts on this page:** 6
**Page:** 1

<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: [January 2, 2017, 2:46pm UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/1 "2017-01-02T14:46:29Z")

</div>

Continuing the discussion from [Add to homescreen banner on Android](https://meta.discourse.org/t/add-to-homescreen-banner-on-android/42973):

Just created a PR to promote the native app with push notification for your recurring visitors:

[https://github.com/discourse/discourse/pull/4632](https://github.com/discourse/discourse/pull/4632)

If it gets merged, you can enable the site setting `native_app_install_banner` to get it working for your site. Remember that you must have the requirements from the Web App banner, like running with HTTPS.

## Workflow for Android (Mobile | Tablet)

 ![](https://global.discourse-cdn.com/meta/original/3X/8/b/8b72292831e6769be12077bfeffb337fef883d58.png) ![](https://global.discourse-cdn.com/meta/original/3X/c/f/cf9cd92984e308d03dc90e71cd2481da657353e9.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/d/1/d1d5ae1a3263055ce0bb08433ac165add15532a1.png) ![](https://global.discourse-cdn.com/meta/original/3X/f/d/fda4faec1efffbf0e04b1058ad603297806b092d.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/0/9/09f3c7d655f9c0c2c4f0dd965463c902c004b9bb.png) ![](https://global.discourse-cdn.com/meta/original/3X/f/e/feeb0960c7b795f1b15c7ea698ad881f9a60614e.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/6/9/697736fb90b79f1dbbbe5170ca3cf6047f5493a5.png) ![](https://global.discourse-cdn.com/meta/original/3X/f/e/fedb61334554c4bd92f2fab161791b9b61d040a8.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/6/5/65a5459c8583a66691d3b30fa8e258874c42a331.png) ![](https://global.discourse-cdn.com/meta/original/3X/c/7/c7878e41d900f3c5bc03f73d69559ea0e66e3190.png)

## iOS

 ![](https://global.discourse-cdn.com/meta/original/3X/8/6/86fc632e5f5edd490f398c7c4ddc28cc012b6f9e.jpg)

---

<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: [January 7, 2017, 1:03am UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/2 "2017-01-07T01:03:42Z")

</div>

This has been merged and it’s alive in Discourse 1.7. Remember it’s off by default, so you need to opt-in to show the banner into settings.

Let me know if it’s working fine in your communities.

---

<div class="post-metadata">

### Author: ![James\_Higginson](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@James\_Higginson](https://meta.discourse.org/u/James_Higginson)
#### Post date: [November 17, 2017, 11:17am UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/3 "2017-11-17T11:17:00Z")

</div>

Does this appear with the Discourse logo only in the banner or can it be customised to use our own logos?

---

<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: [November 18, 2017, 2:15pm UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/4 "2017-11-18T14:15:43Z")

</div>

On the native banner, it will show the native app logo, which is the Discourse one, because it’s pointing to this apps:

> <https://play.google.com/store/apps/details?id=com.discourse&hl=en>
>
> Discourse notifier and browse...

> **[Discourse Hub App - App Store](https://apps.apple.com/us/app/discourse-hub/id1173672076)**
>
> Download Discourse Hub by Discourse on the App Store. See screenshots, ratings and reviews, user tips, and more apps like Discourse Hub.

If you have a [white-label Discourse app](https://meta.discourse.org/t/what-if-i-want-to-white-label-the-discourse-mobile-apps/53063/9) you will want to customize this lines:

Android:

> <https://github.com/discourse/discourse/blob/main/app/views/layouts/application.html.erb#L51>

iOS:

> <https://github.com/discourse/discourse/blob/d7c8c2d5e395ea3b76fc591e7ab0d09800c23b33/app/controllers/metadata_controller.rb#L39>

That said, using the standard [Add to HomeScreen on Android](https://meta.discourse.org/t/add-to-homescreen-banner-on-android/42973?source_topic_id=21067) will use your custom logo everywhere, just set a good one at the Site Setting `large_icon_url` with 512x512 pixels.

---

<div class="post-metadata">

### Author: ![James\_Higginson](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@James\_Higginson](https://meta.discourse.org/u/James_Higginson)
#### Post date: [November 18, 2017, 2:32pm UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/5 "2017-11-18T14:32:40Z")

</div>

Thanks! That’s very helpful

---

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [January 23, 2023, 7:30am UTC](https://meta.discourse.org/t/native-app-install-banner-for-android-and-ios/55056/6 "2023-01-23T07:30:04Z")

</div>

very helpful.

Though I don’t see where is the file in my Ubuntu server, in which I’ve to edit this line.
