When user login to the app I am getting JSON response with username, pasword, token, userID and onboarding. As per the requirement of the application I hava to redirect the user to home page if this onboarding value is "true" in the JSON data.
[
{
"display_name": "my email ID",
"msg_status": "success",
"userid": "userID",
"plan_type": "none",
"token": "my token",
"requires_onboarding": true
}
]
I get all these fields in my java code. Now I want to let user go to the home screen if this onboarding value is true. Please help.