Skip to content

v2.11.0 🚀

Choose a tag to compare

@github-actions github-actions released this 25 Jun 03:33
12e3982

v2.11.0

Add push credential update

Adds AuthsignalPush.updateCredential(pushToken:) so an enrolled device can refresh its push (FCM/APNs) token after enrolment - for example from a background launch or token-refresh callback, with no user session or track call required.

The device proves possession of its existing credential before the update is applied.

let response = await authsignal.push.updateCredential(pushToken: token)

Returns the updated credential details on success.