Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofill doesn't work on Android 10/Flutter/WebView #49

Open
MihaMarkic opened this issue Oct 20, 2021 · 1 comment
Open

Autofill doesn't work on Android 10/Flutter/WebView #49

MihaMarkic opened this issue Oct 20, 2021 · 1 comment

Comments

@MihaMarkic
Copy link

I've created a simple flutter app using webview_flutter plugin. I open a web page and no autofill suggestions are shown. While the same page works if hosted in webview in a native app. I suppose it's a problem with flutter somewhere, but could you check this log and see if it is obvious what's going on?
Below is the log filtered by "autofill" and after i click on a field that shuld work.

2021-10-20 11:50:31.197 30038-30038/com.example.test_google_webview V/AutofillManager: requestHideFillUi(null): anchor = null
2021-10-20 11:50:31.639 30038-30038/com.example.test_google_webview V/AutofillManager: not ignoring notifyViewEntered(flags=0, view=1073741824:65539, state UNKNOWN, enteredIds=null
2021-10-20 11:50:31.639 30038-30038/com.example.test_google_webview V/AutofillManager: startSessionLocked(): id=1073741824:65539, bounds=Rect(56, 913 - 700, 983), value=null, flags=0, state=UNKNOWN, compatMode=false, enteredIds=null
2021-10-20 11:50:31.640 699-2424/? V/AutofillManagerServiceImpl: startSession(): token=Token{de0943 ActivityRecord{1fccef2 u0 com.example.test_google_webview/.MainActivity t24179}}, flags=0
2021-10-20 11:50:31.642 699-2424/? V/AutofillSession: updateLocked(): id=1073741824:65539, action=START_SESSION, flags=0
2021-10-20 11:50:31.642 699-2424/? V/AutofillSession: Creating viewState for 1073741824:65539
2021-10-20 11:50:31.642 699-2424/? V/AutofillSession: Requesting structure for request #1 ,requestId=13, flags=0
2021-10-20 11:50:31.673 699-3352/? V/AutofillSession: New structure for requestId 13: android.app.assist.AssistStructure@b0b3b58
2021-10-20 11:50:31.676 699-3352/? V/AutofillSession: fillContextWithAllowedValuesLocked(): no node for 1073741824:65539
2021-10-20 11:50:31.895 699-724/? V/AutofillSession: canceling session -1731086303 when server returned null
2021-10-20 11:50:31.895 699-724/? V/AutofillSession: removeSelfLocked(): null
2021-10-20 11:50:31.896 699-724/? V/AutofillSession: destroyLocked(): logging 1 requests
2021-10-20 11:50:31.896 699-715/? D/AutofillUI: destroySaveUiUiThread(): already destroyed
2021-10-20 11:50:31.897 30038-30038/com.example.test_google_webview V/AutofillManager: notifyNoFillUi(): sessionId=-1731086303, autofillId=1073741824:65539, sessionFinishedState=2
2021-10-20 11:50:31.897 30038-30038/com.example.test_google_webview V/AutofillManager: setSessionFinished(): from ACTIVE to FINISHED
2021-10-20 11:50:36.899 699-724/? V/RemoteFillService: Not handling operation as service for ComponentInfo{com.google.android.gms/com.google.android.gms.autofill.service.AutofillService} is already destroyed

@asrijojo11e
Copy link

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants