BiometricPrompt description is truncated in Android 12

Viewed 256

The only related thing I can see from the Android 12 new features/API added in android documentation is "Localizeable strings for BiometricPrompt"

My problem is illustrated in the image below and code looks something like

    BiometricPrompt.PromptInfo.Builder()
     .setTitle(title)
     .setSubtitle(optional) //have tried to use this but same issue with description
     .setDescription(necessarilyLongDescriptionHere)
     .setConfirmationRequired(true)

enter image description here

A <br> or a \n does not work here too.

Has anyone encountered this? And have a reliable solution?

0 Answers
Related