Falco
(Falco)
18 Novembre 2017, 2:15pm
4
On the native banner, it will show the native app logo, which is the Discourse one, because it’s pointing to this apps:
Download Discourse Hub by Discourse on the App Store. See screenshots, ratings and reviews, user tips, and more games like Discourse Hub.
If you have a white-label Discourse app you will want to customize this lines:
Android:
<%- if ExtraLocalesController.client_overrides_exist? %>
<%= preload_script_url ExtraLocalesController.url("overrides"), type_module: true %>
<%- end %>
<%- if staff? %>
<%= preload_script_url ExtraLocalesController.url("admin"), type_module: true %>
<% EmberCli.script_chunks["chunk.admin"]&.each do |script_name| %>
<link rel="preload" href="<%= script_asset_path(script_name) %>" as="script" nonce="<%= csp_nonce_placeholder %>" data-discourse-entrypoint="admin">
<% end %>
<%- end %>
<%- if admin? %>
<%= preload_script_url ExtraLocalesController.url("wizard"), type_module: true %>
<%- end %>
<%- unless customization_disabled? %>
<%= theme_translations_lookup %>
<%= theme_js_lookup %>
<%= theme_lookup("head_tag") %>
<%- end %>
iOS:
}
]
}
if SiteSetting.native_app_install_banner
manifest = manifest.merge({
prefer_related_applications: true,
related_applications: [
{
platform: "play",
id: "com.discourse"
}
]
})
end
manifest
end
end
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 Mi Piace