Supporting the Browser Platform in a Cordova Plugin

Simon Prickett
Mar 8, 2016 · 6 min read

When building a Cordova hybrid app, the most common use case for adding or developing plugins is to access native device functionality not normally available to the JavaScript runtime environment.

Whilst plugins allow us to extend the reach of the JavaScript runtime on devices, their use can pose a problem when we also want to run our hybrid apps in a regular web browser —…