-1
My problem is this. I am receiving a json from a webservice and doing Insert or update in a sqlite database on the device I use $ionicLoading.show() by clicking on the button and it closes when the request with the server ends. Only because it is a lot of data, the database processing continues and I wanted to close the loading only when the data processing in the database is finished. Would anyone have any idea what to do ?
Is the webservice returning before finishing operations in the bank? Would you be able to change it?
– Bruno
The webservice is not normal. I start loading.show() I make the request for $http.get after I get all the json from the webservice it closes the $loading and then start doing the operations with the bank. I would like the $loading only to close after the bank.
– raso