Samsung Internet Dev Hub - Resources for developers

Developer Hub

Introducing Samsung Internet for developers

Samsung Internet is the web browser that is pre-installed on Samsung Galaxy phones and phablets. It has a market share of about 10% of all mobile browsing in Europe, according to StatCounter. Despite that, we’ll be the first to admit that it’s been quite under the radar for most developers up until now. Here’s a quick FAQ to help you get started developing with the browser.

Is Samsung Internet the same as the stock Android browser?

No. Samsung Internet has replaced the stock Android browser (also known as the AOSP browser) as the default on Samsung mobile devices since the Galaxy S4. It’s based on Chromium and the Blink rendering engine. The latest major version (at the time of updating this post) is v5.x, which is based on Chromium M51.

Why do Samsung have their own browser?

It allows us to optimise the browser as much as possible for our devices. It also means that we can integrate hardware — such as Gear VR or the new iris scanner — into the browsing experience as seamlessly as possible. The browser is of course based on open standards and Samsung are contributors to the specs too. For example, you will spot our esteemed colleague Jungkee’s name in the list of service workers spec editors. Samsung are also a key contributor into the Chomium open source project on which our browser is based.

Update: Diego wrote more on this topic in his post ‘Many browsers, one web’.

Which version do I have?

Recent versions have an About page in the Settings:

Or you can try visiting about://version:

If you would like to decipher the User Agent string, see the guide here.

On older devices, try Settings > Application Manager > All > Internet:

Previously, the app had the blue globe icon above. This is the same icon that was used for the earlier AOSP version, so if you need to tell them apart, the best way might be the user agent string. The purple icon was introduced for version 3, when the app became available in the Play Store. Release notes since version 3 are available here.

Update: Samsung Internet for Android app icons

How do I get hold of the latest version?

Samsung Internet can be downloaded from the Play Store or the Samsung Galaxy Apps store, if you have a supported Samsung device. The store page contains the full list, but generally speaking, S4 and newer, running Android 5+.

How do I debug?

Set up your Samsung device for development in the usual way, i.e. tap the Build number 7 times, then enable USB debugging in the Developer Options.

You can then debug remotely using Chrome on the desktop. Any pages you have open in Samsung Internet should be listed for inspection under chrome://inspect:

As Ada shared here, you can enable port forwarding and connect to a server running on your desktop machine. You will need the Chrome app running on your desktop. If your local URL (127.0.0.1) does not resolve, visit chrome://inspect and ensure port forwarding is enabled. Please note that to establish port forwarding you will need to open the Chrome app on your mobile device too.

Update: For more information, see the Remote Debugging docs here.

What if I don’t have a Samsung phone?

Samsung have a Remote Test Lab that lets you use devices remotely. You can register for a free account. Other cloud device labs such as TestObject and BrowserStack also have Samsung devices with Samsung Internet installed. You might also find one at a local open device lab.

Update: Our new public beta is now available on GED (Nexus/Pixel) phones!

Where can I find out more information?

Please see the resources here on the official site and our developer hub.

How do I report bugs or ask questions about the browser?

You can post an issue on our support repository. If it’s a suitable question for Stack Overflow, you could also try asking there using the ‘samsung-browser’ tag — we’ll keep an eye out!

We’ll be out meeting and speaking with as many of you as we can. Check our team events calendar to see which events we will be attending and speaking at over the coming weeks.

You can also find us on Twitter at @samsunginternet or individually at @torgo, @Lady_Ada_King, @diekus and @poshaughnessy.

We hope you enjoy developing with Samsung Internet and we look forward to hearing from you!

p.s. Our beta version is now public!

We now have an open beta which, for the first time, is available to download not only Samsung Galaxy devices but also Google devices. Please see here for further information.

Tagged in Android, Samsung, Web Development, Browsers, Mobile Web

By Peter O’Shaughnessy on August 8, 2016.

Read this article on Medium