Working with the latest Cordova Plugin