4

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?

Zerosero
  • 323
  • 3
  • 15
  • Looks like you are not the only one with this issue https://stackoverflow.com/q/66353830/2070800 – hardik9850 Sep 21 '21 at 08:46
  • Since the prompt is supplied by the device manufacturer, you should not be making any assumptions that your title, subtitle, or description are displayed *at all*, let alone displayed entirely. – CommonsWare Sep 21 '21 at 11:00
  • @CommonsWare, I’m still wondering what causes the issue since it’s displayed correctly on an android version lower than 12 – Zerosero Sep 21 '21 at 16:01

0 Answers0