You should do any I/O in a background thread so as to not block the UI. There is a shared thread-pool on the this.cordova object that you can use.