nparashuram / cordova-plugin-browsersync

BrowserSync Plugin for Cordova
110 stars 69 forks source link

added https option of browser-sync #44

Closed jinbe0 closed 6 years ago

jinbe0 commented 6 years ago

Because of browser-sync, cordova use LAN IP address (e.g. 192.168.0.100) instead of localhost on devices. Some powerful features such as getUserMedia() no longer works on insecure origins. This patch solves simply the problem by adding https option to BrowserSync.init options.

related: #30