Deploy.check() never resolved

Hi there,

I’m trying to use Deploy but I can’t get the deploy.check() to be resolved.
There are no errors, no console message helping me:

      // this appears in my console
      console.log('deploy.check()', this.deploy.channel);
      this.deploy.check().then((snapshotAvailable: boolean) => {
        // that never appears in my console
        console.info('deploy.check() result', snapshotAvailable);
      });

How can I debug it?

Thanks

You coud add an error handler

this.deploy.check().then(function() {
  // checked
}, function() {
  // failed
});
1 Like

Yeah I figured out later that the plugin wasn’t installed for ios, dunno why.

I installed it again with npm and it started working :slight_smile:

Thanks!