Fixed
Status Update
Comments
so...@google.com <so...@google.com> #2
We have some support in androidx.compose.ui.autofill
Leaving this bug open in case Ralston wants to add more info
no...@google.com <no...@google.com> #3
I found an example
D/Autofill Status: Autofill popup isn't shown because autofill is not available.
Did you set up autofill?
1. Go to Settings > System > Languages&input > Advanced > Autofill Service
2. Pick a service
Did you add an account?
1. Go to Settings > System > Languages&input > Advanced
2. Click on the settings icon next to the Autofill Service
3. Add your account
Is this a bug on your side or do the app developers of these password managers need to change their implementation?
si...@google.com <si...@google.com>
si...@google.com <si...@google.com>
no...@google.com <no...@google.com> #6
Facing the same issue here, Google autofill service seems to work. Zero documentation on adding support for Autofill framework on jetpack compose.
ap...@google.com <ap...@google.com> #7
Hello, I am trying to implement the same thing - it seems like there's no way for current password managers like 1Password or Bitwarden, to automatically pick up the fields. Is there a possible solution?
Description
all required information.
Android Studio Build:
Version of Gradle Plugin: 4.1.0-alpha03
Version of Gradle: 6.2.1
Version of Java: 1.8
OS: Android 9
Jetpack compose and libs version: 0.1.0-dev07
After IME button click, keyboard doesn't hide.
To hide keyboard we can use extension:
fun Context.hideKeyboard() {
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
imm.hideSoftInputFromWindow((this as Activity).currentFocus?.windowToken, 0)
}
And in our TextField:
@Composable
fun test(){
val context = ContextAmbient.current
...
TextField(
...
onImeActionPerformed = {
if (it == ImeAction.Search) {
context.hideKeyboard()
}
}
)
}
But I don`t think, that is a good to use this way. It looks like bug.