| Hi, I think that the issue is still there. These options [1] were added, but they are not used anywhere now (they were, but I accidentally removed them with my last changes). So that user of the SDK can be notified about failures (/successes) of mutations, this line [2] could be changed to something like:
operation.forwardOperation() |
.then(result => options.listener. onOperationSuccess(operation, result)) |
.catch(error => options.listener. onOperationFailure(operation, error));
|
(There would need to be some check that these options have been actually provided.) Then these listeners could be used in ionic app. [1] https://github.com/aerogear/aerogear-js-sdk/blob/b2ffe5cbeae08b5969895d1d818155cd14275721/packages/sync/src/offline/OfflineQueueListener.ts#L16-L24 [2] https://github.com/aerogear/aerogear-js-sdk/blob/b2ffe5cbeae08b5969895d1d818155cd14275721/packages/sync/src/links/OfflineLink.ts#L61 |