1.29.0 -> 1.29.1

Breaking Changes

Update User Service Calls

The return type has changed from Void to Activation.

// OLD (1.29.0)
activationService.activate(activationId: id, activationCode: code, emailAddress: email) { result in
    switch result {
    case .success:
        print("Activated successfully")
    case .failure(let error):
        print("Error: \(error)")
    }
}

// NEW (1.29.1)
activationService.activate(activationId: id, activationCode: code, emailAddress: email) { result in
    switch result {
    case .success(let activation):
        // Capture userProfileId for future use
        let profileId = activation.userProfileId
        print("Activated userId: \(activation.userId)")
    case .failure(let error):
        print("Error: \(error)")
    }
}

Both platforms now require userProfileId for all Legal Documents operations. This ID is typically obtained from the Activation response or user response.

Last updated