m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

Check what devServer settings a user has applied instead of hardcoding #58

Closed dannyalder88 closed 5 years ago

dannyalder88 commented 5 years ago

With the release of Cordova Android 8.0.0, the app needs to be served over https. Currently the plugin has hardcoded https to false. The app should check if the user has set devServer.https to true in the vue.config.js and use this setting instead. This option defaults to false, so should not break older apps using the plugin.