<% unless platform.chrome? || (platform.firefox? && !platform.android?) %>
<%= image_tag "external/install.svg", aria: { hidden: "true" }, size: 20 %> Install Campfire as a web app. <%= image_tag "disclosure.svg", aria: { hidden: "true" }, size: 10, class: "disclosure" %> <% case when platform.edge? %>
  1. Click <%= image_tag "install-edge.svg", alt: "the app available - install Campfire chat button", size: 16 %>in the address bar.
  2. Click Install.
<% when platform.chrome? && platform.android? %>
  1. Tap the <%= image_tag "menu-dots-vertical.svg", alt: "More options", size: 16 %> menu button.
  2. Tap Install app in the menu.
<% when platform.firefox? && platform.android? %>
  1. Tap the <%= image_tag "menu-dots-vertical.svg", alt: "More options", size: 16 %> menu button.
  2. Tap Install in the menu.
<% when platform.safari? && platform.desktop? %>
  1. Click File in the top left.
  2. Click Add to Dock….
<% when (platform.safari? || platform.chrome?) && platform.ios? %>

To receive push notifications in <%= platform.browser.capitalize %> for <%= platform.operating_system %>, you must install Campfire as a web app.

  1. Tap <%= image_tag "external/share.svg", alt: "the share button", size: 20 %>
  2. Tap Add to Home Screen.
<% else %>

Some platforms require you to install Campfire as a web app to receive push notifications.

<% end %>

<% end %>