Session Management in Android and iOS SDKs

Hello Web3Auth Mobile Devs 👋,

With our latest Android SDK (v3.1.0) and Swift/iOS SDK (v5.0.0), we're introducing, ✨✨Session Management✨✨

The Session Management feature allows you to check the existing sessions with Web3Auth. The web3Auth.sessionResponse() in Android and web3Auth?.state will return the existing session of a user. To set the users’ session, pass sessionTime in the LoginParams, which will allow users to remain authenticated with Web3Auth for up to 1-day default, or a maximum of 7 days, or until they logout or session data is cleared.

Check out the documentation to try in your application.
Android: https://web3auth.io/docs/sdk/android
iOS: https://web3auth.io/docs/sdk/ios



Originally posted by: shahbaz17

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/777