$ionicDeploy.check() not returning a promise on mobile Safari

#1

I’ve noticed strange behavioir of $ionicDeploy.check() function.
On native platform it returns promise which resolves when check for update finished.
On desktop browser it’s returning rejected promise as expected (because platform not supported).
But on mobile Safari (and possible Chrome - not tested yet), it neither returns resolved or rejected promise. Probably it’s a bug. Workaround - check for non-native platform and return $q.reject();
Spent few hours on this issue, maybe it helps someone else.