Native app install banner for Android and iOS

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:

Android:

https://github.com/discourse/discourse/blob/master/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 will use your custom logo everywhere, just set a good one at the Site Setting large_icon_url with 512x512 pixels.

6 Likes