requestLoginPrompt

suspend fun requestLoginPrompt(context: Context, supportFragmentManager: FragmentManager, isCancelable: Boolean = true, xDomainId: UUID?): Boolean

Show native login prompt if user already has a valid session on device and if no user session is found in the app.

Return

true if login prompt is shown, false otherwise.

Parameters

supportFragmentManager

Activity's Fragment manager.

isCancelable

set if loginPrompt should be cancelable by user.