Skip to content

Release 6.22.1

Choose a tag to compare

@umairali332 umairali332 released this 15 Jan 22:24
· 23 commits to master since this release
  • Provided a hot fix for an issue with unregistering the user from Pusher. SDK was unregistering the user from Pusher even if unregisterType is passed as .none in logout method. In this case SDK should not invoke the unregister from Pusher API so device can still receive push notifications. A new version of logout method is introduced with an additional parameter authType: LPAuthenticationType that will decide whether to unregister the authenticated user from Pusher or not.
func logout(authType: LPAuthenticationType,
                unregisterType: LPPusherUnregisterType = .all,
                completion: @escaping () -> Void,
                failure: @escaping (_ errors: [Error]) -> Void)