[SalesForce] Which browser engine does the Salesforce1 native app use to render visualforce page content

I have created a Salesforce1 single page app with VisualForce page displaying HTML. The app uses HTML5 and CSS3. Some Android 4.2 and 4.3 devices will not display the HTML correctly inside the Salesforce1 native app. However, the page with HTML works perfectly when Salesforce1 runs in the Chrome browser on the mobile device.

So which browser am I building for in Salesforce1? Does it use the mobile device's default browser engine? If I update the device browser, will it also update the engine used by the Salesforce1 native app for rendering the visualforce HTML?

Best Answer

From what I understand, Salesforce1 is using the Salesforce Mobile SDK which is built on top of Phonegap (see Andrew's informative answer here for more on the technologies behind the Salesforce1 app).

So taking a look at what Phonegap has to say on the matter:

The web view used by PhoneGap is the same web view used by the native operating system. On iOS, this is the Objective-C UIWebView class; on Android, this is android.webkit.WebView. Since there are differences in the web view rendering engines between operating systems, make sure that you account for this in your UI implementation.

Related Topic