cordova so that i can get access to the API