added Cordova-Client support