tripflex / WifiWizard2

A Cordova plugin for managing Wifi networks (new version of WiFiWizard) - Latest is version 3+

Home Page:https://www.npmjs.com/package/cordova-plugin-wifiwizard2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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

  1. Get a phone with an OLD Android System Webview (any version before 49.0.2623.105)
  2. Create an Ionic project
  3. Add the plugin to your project
  4. 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.