Questions tagged [android-autofill-manager]

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

40 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,182
  • 1
  • 17
  • 38
25
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…
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…
CVS
  • 560
  • 1
  • 7
  • 26
8
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,247
  • 2
  • 13
  • 19
7
votes
2 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…
6
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
  • 2,413
  • 2
  • 18
  • 27
5
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…
Vji
  • 965
  • 7
  • 22
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
  • 488
  • 4
  • 21
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
  • 10,577
  • 5
  • 57
  • 111
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
  • 197
  • 1
  • 9
3
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
  • 748
  • 10
  • 33
3
votes
0 answers

While Google's SMS one-time code autofill service, what does API_NOT_AVAILABLE status mean?

I am trying to implement SMS one-time code autofill service. SmsCodeAutofillClient smsCodeAutofillClient = SmsCodeRetriever.getAutofillClient(this); Task voidTask = smsCodeAutofillClient.startSmsCodeRetriever(); Everytime,…
3
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
  • 31
  • 3
3
votes
0 answers

Can Autofill in an Android WebView be disabled?

I would like to disable Autofill in an Android WebView in Oreo but I cannot find a way to do that. I have tried AutofillManager.disableAutofillServices and cancel() in the app. I created an onAutofillEvent() listener in the app and it does not get…
Paul
  • 51
  • 1
  • 3
2
votes
1 answer

How to prompt for autofll in another app?

I am making a password manager, in which i am storing passwords of different user. How do i prompt him to fill data/credentials from our database. like how different password protector is doing it. I am also storing their data locally.
1
2 3