initialize with ios cordova