'Does the Jetpack Compose API limit to force keyboard to be opened all the time?

Let's imagine such scenario:

  1. The application requires user to authenticate.
  2. The idea is to force keyboard to be opened all the time and block back button to prevent keyboard from hiding.
  3. When back button is pressed, user should be able to go back to previous screen only.

I am wondering if Jetpack Compose API allows to force keyboard to be opened even if the back button is pressed. Or maybe there is a good workaround to achieve such effect?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source