for using cordova plugins