Reputation: 3270
I use parse.com as a backend service for my app. Therefore I wrote a signup/login section to my app, where : + I can enter a new user-email + password + and logout and login over and over with those credentials.
Up to here, everything works very fine. New added users-emails get a verification request from parse.com. And they are marked with a boolean emailVeryfied = true
if the activation link was clicked.
But how would I notice that in my Android app? The ParseUser
object does not have a
boolean isVerified = ParseUser.isEmailVerfied()
object??
Upvotes: 0
Views: 571
Reputation: 619
ParseUser does not have method to check if email is verified or not but you can fetch this value by giving the key name in get method. Use this code:
ParseUser currentUser = ParseUser.getCurrentUser();
currentUser.get("emailVerified");
Upvotes: 3