$ionicLoading.hide() not hiding on android every time


#1

I have noticed recently after getting the latest OS updates on my Android Nexus 5 and Nexus 9, it seems that occasionally $ionicLoading.hide() does not work correctly and keeps the $ionicLoading.show() displayed forever on the screen. I did try adding a timeout to the $ionicLoading.show() which does fix it, but after it screws up once the timeout will cancel it out, but then after every time I show the loading again it stays visible until the timeout gets hit over and over again. So if I place the timeout to 5 seconds, after it shows forever onceā€¦ it always shows forever after that until 5 seconds kicks in and kills it.

It does not happen when testing in the browser using ionic serve. Only on the devices themselves.
It also only occasionally happens, not every time.

Anyone else having issues like this?

Devices used : Nexus 5 and Nexus 9 : Android version 6.0.1 Security patch level February 1, 2016

System information:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.3
ios-sim version: 5.0.1
OS: Mac OS X El Capitan
Node Version: v0.12.7
Xcode version: Xcode 7.2 Build version 7C68