You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally worked it out. The git code seems to span 2 types of callback system in Phonegap and doesn't work perfectly with either.
The argc line is an old-style (I think/hope) way of registering callbacks in Phonegap, as the callbackId scheme contains BOTH the success AND the failure callback references.
Therefore to call the error callback when an error occurs we need to find the error handler and invoke it:
Im not getting the error callback called when a register failure occurs:
The logging statement never gets called, so I assume there's some issue with passing the js callback through.
Here's the register call from the JS side:
Success callback works just fine.
The text was updated successfully, but these errors were encountered: