ably-cocoa
ably-cocoa copied to clipboard
Device details refactoring
This is a preview of a possible solution for https://github.com/ably/specification/issues/25 Since it's a part of a discussion I'll keep it in draft state.
The idea: ARTDeviceDetails doesn't contain always empty push state and errorReason fields anymore. But you still get these values in the push/admin/deviceRegistrations/get: function as a part of ARTDeviceDetailsResponse object.
Thanks for opening this, @maratal. I've replied here: https://github.com/ably/specification/issues/25 – let’s keep the conversation going there?