The current implementation of on:callback: is that the callback contains an array with data.
In case the on event is .error , the array contains a string with the (localised) error description.
This is impossible to parse safely, as these strings change per device locale and iOS version.
Is there a way to get the underlying NSError in the callback, so its errors codes can be parsed?
The NSError is printed in the debug console, so it is available.
The current implementation of
on:callback:
is that the callback contains an array with data. In case the on event is.error
, the array contains a string with the (localised) error description. This is impossible to parse safely, as these strings change per device locale and iOS version.Is there a way to get the underlying
NSError
in the callback, so its errors codes can be parsed? TheNSError
is printed in the debug console, so it is available.