# Ionic Deploy: no update available, what do I miss?

**URL:** <https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072>\
**Category:** ionic-v1\
**Created:** [November 1, 2015, 5:16pm UTC](https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072 "2015-11-01T17:16:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gp2mv3](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gp2mv3/32/93209_2.png) [@Gp2mv3](https://forum.ionicframework.com/u/Gp2mv3)\
**Post date:** [November 1, 2015, 5:16pm UTC](https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072/1 "2015-11-01T17:16:08Z")

</div>

Hi,  
I’m trying Ionic Deploy and currently have no result… I’m testing on Android with the following code:

```
var deploy = new Ionic.Deploy();

deploy.watch().then(function() {}, function() {},
function(hasUpdate) {
console.log("watch");
if(hasUpdate) {
  console.log("has update");

  deploy.update().then(function(res) {
    console.log('Ionic Deploy: Update Success! ', res);
  }, function(err) {
    console.log('Ionic Deploy: Update error! ', err);
  }, function(prog) {
    console.log('Ionic Deploy: Progress... ', prog);
  });
}
});

```

I upload my app with `ionic upload --note "Alert Test" --deploy=production`. And the device always output `Ionic Deploy: no updates available`. On the io dashboard I can see my update so I think there is a problem with the app.

What can I miss ? Is there a particular configuration to do on the device ?

Thanks,

Nicolas

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 6, 2015, 6:57pm UTC](https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072/2 "2015-11-06T18:57:56Z")

</div>

Use a proxy like Charles Web Proxy to see which request Ionic Deploy actually sends out when it checks for an update. Look at the request if it matches your app and the reponse, if it really says that there is no update available.

I sometimes have the problem I have to click the button twice to get the option to download the update - maybe it’s the same for watch() - and as you can’t “click” a second time you never get the update offered to you.

-J

---

<div class="post-metadata">

**Author:** ![Gp2mv3](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gp2mv3/32/93209_2.png) [@Gp2mv3](https://forum.ionicframework.com/u/Gp2mv3)\
**Post date:** [November 21, 2015, 3:43pm UTC](https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072/3 "2015-11-21T15:43:22Z")

</div>

I tried to use Charles Web Proxy as you suggested but how do you use it for your phone’s requests ?  
Ionic Deploy doesn’t work in the browser so it’s not useful here.

Also I’m using $Deploy.watch which normally ask for a new answer every minute. I see the console log saying that there is no update and also the requests via wireshark (and shark for root). But this request is secured by SSL…

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 21, 2015, 7:15pm UTC](https://forum.ionicframework.com/t/ionic-deploy-no-update-available-what-do-i-miss/36072/4 "2015-11-21T19:15:39Z")

</div>

Oh sorry, should have specified. You basically have to be on the same Wifi with both devices and then set your computer (get the IP in Charles via Help -\> Local IP address) as the proxy in your devices:

[https://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/](https://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/)  
[http://university.utest.com/how-to-set-up-charles-web-debugging-proxy-for-android-devices-and-mac/](http://university.utest.com/how-to-set-up-charles-web-debugging-proxy-for-android-devices-and-mac/) (see steps in the bottom of the page)

Then you should be able to look if there are requests that correspond to what is logged.

And for SSL:  
[https://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/](https://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/) (bottom again)  
[http://stackoverflow.com/a/31288342/252627](http://stackoverflow.com/a/31288342/252627)
