"Block-scoped declarations not yet supported outside strict mode"

Hi,

I have an issue that seems to only rear its ugly head on Android 6.0.0. When my app starts, it complains:

“Block-scoped declarations (let, const, function, class) not yet supported outside strict mode” - in localStorageHandler of the plugin: cordova-plugin-nativestorage (v2.1.1).

The build runs fine with Android 5.1.1 as well as 7.0.0.

Any help is much appreciated!

-Gary

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 3.1.1
OS: OS X El Capitan
Node Version: v7.6.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Solved - needed the latest dev build: