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
      this.deploy.check().then((snapshotAvailable: boolean) => {
        // that never appears in my console'deploy.check() result', snapshotAvailable);

How can I debug it?


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: