Plugin does not support Webview versions prior to 49.0.2623.105
esmiralha opened this issue · comments
Prerequisites
Check all boxes if you have done the following:
- [ X] Checked that your issue isn't already filed: https://github.com/tripflex/wifiwizard2/issues
- [ X] Make sure you fill out the Issue Type below
Issue type
Select all that apply
- [ X] Bug
- Enhancement
- Task
- Question
- Other
Description
Plugin does not support Webview version before 49.0.2623.105.
Steps to Reproduce
- Get a phone with an OLD Android System Webview (any version before 49.0.2623.105)
- Create an Ionic project
- Add the plugin to your project
- Package to apk, install and run
Expected behavior:
App opens, no errors in console.
Actual behavior:
A syntax error is logged to console:
"Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode", source: file:///android_asset/www/plugins/wifiwizard2/www/WifiWizard2.js
Reproduces how often:
100% of the time
Versions
WifiWizard2: 3.0.0
Android: 6.0.1
Device: Samsung S7
Webview: 48.0.2564.106
Additional Information
Damn... sorry. Just saw that 3.1.0 fixes this issue... closing it.