Native app install banner for Android and iOS

(Rafael dos Santos Silva) #1

Continuing the discussion from Add to homescreen banner on Android:

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

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)


(Rafael dos Santos Silva) #2

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.

(James) #3

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

(Rafael dos Santos Silva) #4

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

If you have a white-label Discourse app you will want to customize this lines:



That said, using the standard Add to HomeScreen on Android will use your custom logo everywhere, just set a good one at the Site Setting large_icon_url with 512x512 pixels.

(James) #5

Thanks! That’s very helpful