Before adding cordova plugin