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

**URL:** <https://forum.ionicframework.com/t/ionicdeploy-check-not-returning-a-promise-on-mobile-safari/99280>\
**Category:** ionic-v1\
**Created:** [July 23, 2017, 10:36pm UTC](https://forum.ionicframework.com/t/ionicdeploy-check-not-returning-a-promise-on-mobile-safari/99280 "2017-07-23T22:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![allforfree](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@allforfree](https://forum.ionicframework.com/u/allforfree)\
**Post date:** [July 23, 2017, 10:36pm UTC](https://forum.ionicframework.com/t/ionicdeploy-check-not-returning-a-promise-on-mobile-safari/99280/1 "2017-07-23T22:36:08Z")

</div>

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.
