Skip to content

@ricardopereira ricardopereira released this Jul 13, 2019 · 16 commits to develop since this release

Important changes

Fixed bugs:

  • Push deactivate on an app is failing with push-subscribe permissions #873

Merged pull requests:

  • Delete device registration should not use the general-purpose endpoint #871 (ricardopereira)

Complete list of changes available here.

⚠️ Important notes

Push related

Whenever a new device token occurs in application(_:didRegisterForRemoteNotificationsWithDeviceToken:), the library was updating the LocalDevice.deviceIdentityTokenDetails with invalid data. The issue causing this was in the deviceUpdateRegistration: method (#867).

After updating to this version, because of the bad state of deviceIdentityTokenDetails, it is possible that a response error with status code 401 occurs when a PATCH /push/deviceRegistrations request is done:

error =     {
    code = 40100;
    href = "";
    message = "Incompatible deviceSecret specified for device access. (See for help.)";
    serverId = "";
    statusCode = 401;

The recommended way to fix the deviceIdentityTokenDetails bad state is to deactivate() -> activate() the device.



pod 'Ably', '1.1.9'


github "ably/ably-cocoa" == 1.1.9


#import <Ably/Ably.h>


import Ably


  • Carthage release for Swift is built with Xcode 10.2.1.
Assets 3
You can’t perform that action at this time.