Samsung Internet Dev Hub - Resources for developers

Developer Hub

What does it mean to be an App?

Ambient Badging and Importance (or not?) of URLs

We want your feedback.

When building Samsung Internet we want to use Ambient Badging to let users know the website they are browsing may be installable and behave like an app.

The Web App Manifest defines how a website behaves when it is installed as an app. By setting the Display property to ‘Standalone’ or ‘Fullscreen’ when added to the homescreen, the web app will open with no browser Chrome and be indistinguishable from a native app.

Ambient Badging is an icon we show in the URL bar when we detect the webpage is installable as an app, allowing the user to add it to their ‘Home screen’.

The criteria we use to decide if the site is a web app are as follows:

  • On HTTPS
  • Has a Service Worker Registered
  • Has a Web App Manifest
  • The Web App Manifest has name or short_name
  • The Web App Manifest has start_url
  • The Web App Manifest has an icon where size is at least 144x144
  • The Web App Manifest has display set to standalone or fullscreen

This last point it the controversial point. Both those options hide the URL bar and all of the browser chrome.

By forcing developers to hide the URL bar to get the badge, we ensure that all web apps look and behave exactly like native apps.

But doing so forces developers to sacrifice the power which leaving the URL bar and the browser chrome can afford them.

It is a tricky question and we want to know how developers feel:

Tagged in Web Development, Mobile, Samsung, Ambient Badging, Progressive Web App

By Ada Rose Cannon on March 8, 2017.

Read this article on Medium