skip to Main Content

Flutter AutoFillGroup/Autofill hints not working

My code to show and submit login form: class LoginWidget extends StatelessWidget { const LoginWidget({ super.key, }); @override Widget build(BuildContext context) { final citiesLoaded = context.select((LoginBloc bloc) => bloc.state.citiesLoaded); final loginBloc = context.read<LoginBloc>(); final selectedCity = (citiesLoaded && loginBloc.state.cities.length ==…

VIEW QUESTION

Android Studio – 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 android.os.Bundle.containsKey(java.lang.String)' on a null object reference. android.view.autofill.AutofillManager.onAuthenticationResult…

VIEW QUESTION
Back To Top
Search