Questions tagged [android-autofill-manager]

The AutofillManager provides ways for apps and custom views to integrate with the Autofill Framework lifecycle.

59 questions
46
votes
10 answers

Disabling Android O auto-fill service for an application

Android O has the feature to support Auto-filling for fields. Is there any way I can disable it for a specific application. That is I want to force my application not to use the auto-fill service. Is it possible ? To block autofill for an entire…
jgm
  • 1,230
  • 1
  • 19
  • 39
28
votes
8 answers

How to disable the new Autofill feature from Android Oreo for espresso tests

Running tests on android devices with sdk 26 causes them to fail because of the new Autofill feature that hides the fields when espresso are trying to click them. Im running my tests on firebase test lab so I cannot disable them manually on my tests…
11
votes
3 answers

How to use Android autofill API

I've built a little browser using the android webview component and am looking to integrate password/credential manager support using the Android AutoFill API. I've read the docs but am completely lost and can't find any examples of integration with…
11
votes
2 answers

Android Oreo disable autofill for EditText

I'm trying to disable autofill for all EditText's except my login screen. And no success yet. There is always "Autofill" option after longPress on editText. IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS for rootView or IMPORTANT_FOR_AUTOFILL_NO for…
Kuva
  • 2,387
  • 4
  • 15
  • 20
9
votes
2 answers

Crash in AutofillManager NPE: trying to invoke virtual method containsKey(java.lang.String)' on a null object reference

I have no direct traces of using AutofillManager in my project but still getting this crash in crash analytics. How we can handle this? Crash Logs- java.lang.NullPointerException: Attempt to invoke virtual method 'boolean…
SDubey
  • 91
  • 4
9
votes
0 answers

AutofillManager WebView Input crash on Android 8.1

I have a bug with autofill manager, when I focus any input - it throws an exception: W/System.err: java.lang.NullPointerException: activityToken W/System.err: at android.os.Parcel.readException(Parcel.java:2011) W/System.err: at…
7
votes
1 answer

React Native - Unable to get Android sms-otp autofill to work

I am using 0.66 (and also tried 0.68rc4) and am unable to get the autofill for otp to work on Android. Here is the component I have I tried the https://github.com/faizalshap/react-native-otp-verify…
7
votes
0 answers

Autofill in chrome using Autofill Service Android

In Pie & Above versions, Android introduced the chrome browser autofill using the Autofill service as per the doc. But i tried debug the Facebook's login form in Chrome Browser for the onFillRequest call to come. But it's not coming. Don't know…
Happy
  • 1,031
  • 10
  • 26
7
votes
3 answers

Save for autofill dialog not showing up

I have an activity that shows username UI, after entering that and tapping on continue button shows the enter password UI. On entering password and tapping on login button finishes the current activity and launches a new activity. On my device I…
ManuleK
  • 71
  • 5
7
votes
1 answer

Oreo - Autofill Framework background highlight color

Is it possible to change EditText autofill highlight color? By default it has yellow background that may be incompatible with application design.
Mikhail Sharin
  • 3,661
  • 3
  • 27
  • 36
6
votes
1 answer

How to integrate autofill in Jetpack Compose

I want to provide some autofill functionality in my app (email and password) that is written completely using Jetpack compose. I came across this blog post and this demo code which I both tried out. Unfortunately, I can't get any popup when…
5
votes
0 answers

Android - Google autofill not showing update password on change password screen (password fields only)

We've an app with login/signup views. When a user creates a new account or login the Android autofill framework asks to save the username and password. Now once the user logs-in - We've a password fields screen where user can change password by…
Pankaj
  • 833
  • 12
  • 35
5
votes
0 answers

Read Properties of Input Field Displayed in Browser

Using the soft keyboard API's I can get the properties of an android EditText using the following code example EditorInfo ei = getCurrentInputEditorInfo(); Log.i(TAG, "found field hintText = " + ei.hintText); but the following code above will not…
DaviesTobi alex
  • 610
  • 1
  • 9
  • 34
4
votes
1 answer

Android Autofill only working with response from onFillRequest but not from Authentication Activity

I have implemented an Android Autofill Service for my password manager app. Users have reported issues with the Paypal app, where the service does not seem to work. I have investigated this and found that the following code (Xamarin) in…
Philipp
  • 11,549
  • 8
  • 66
  • 126
4
votes
3 answers

Failed to Enable AutoFill Service by using Intent in Android O

I used this code for enabling the Enable AutoFill Service. Intent dialogIntent = new Intent(Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE); startActivity(dialogIntent); I got the next exception: FATAL EXCEPTION: main Process:…
Vasim
  • 217
  • 2
  • 10
1
2 3 4