I am using aws cognito for authentication, I am finding difficulty in checking if the user has logged in or logged out. How to check in aws cognito if the user has logged in or he has logged out?
Is there any method likeuserPool.currentUser.isLoggedIn()
in android for checking if the user is logged in?
The docs for the AWSMobileClient, found here, which is part of the AWS Amplify SDK for Android, includes state tracking of logged-in users with the isSignedIn method.