FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
129 stars 26 forks source link

Logged in users cant use any textfiled in app #1164

Closed khomya closed 1 year ago

khomya commented 1 year ago

Has your issue been reported?

Current Behavior

I didnt change anything in project, but now users cant use any textfield! Now users cant use any fileds - phones, emails, names, comments...

in Androin and in iOS - the same. Fields not working! on web version - the same!

Expected Behavior

users should be able to use textfields

Steps to Reproduce

I dont know what happened

Reproducible from Blank

Bug Report Code (Required)

IT4wkfHlsIZ2xOFY+KXqdcFv+SAWCDp/aJ0/lu4aRis8I4jyO5YUSMzBUFFWTLzgYH9DPk6WoDgKxvfqiuHhVPUqZE6afLpP1ZFUaA7NUXKiM5SLPLm7fW1fGZtWfVzAy6aKkRB4PultS1o13U2QOu+XcA7qCb2wIUcnAcibJdeK2SrDX1iXc2URm05KZDPz

Context

Users cant use App

Visual documentation

https://github.com/FlutterFlow/flutterflow-issues/assets/2369704/eb655395-0e53-4a0a-aef6-85b59f69c283

Additional Info

https://github.com/FlutterFlow/flutterflow-issues/assets/2369704/8485e2a3-cfe1-4a42-87b1-3487aeed7fb2

Environment

- FlutterFlow version: 3.1
- Platform: MacOS
- Browser name and version: Chrome Version 115.0.5790.102 (Official Build) (arm64)
- Operating system and version affected: MacOS 13.4.1
khomya commented 1 year ago

I checked a lot of situations - the problem only appears for logged users. i tested on pages with stack and every other widgets... if page is accessible by not logged user - then he can use TextField. Logged Users - cant use textfields

In my video it is recorded: before user logged in - textfields are working. After login - textfields not working/

hariprasadms commented 1 year ago

HI @khomya - Thanks for reporting the issue. I can confirm that text fields input works fine in both iOS and Android as expected. It looks like this issue is specific to device. Can you please confirm how it is working in Android and also if you could try to test in one or two latest iOS devices would be great.

khomya commented 1 year ago

let me add you to TestFlight group - and you will use it and check.

khomya commented 1 year ago

Or you can try website https://georgiatennis.ge from Android or iOS device. And see the authorization goes OK, but once you logged in - you cant use textfields.

I tested on several iOS and Android devices. My users write to me and they say that they cant use textfields.

khomya commented 1 year ago

Can you please confirm how it is working in Android and also if you could try to test in one or two latest iOS devices would be great. I uploaded first video - its Android. And I tested on iPhone 12 (2nd video), ipad mini 6, iphone 14

khomya commented 1 year ago

you should get an invitation to testflight! I added you.

khomya commented 1 year ago

in Google console in IAM & Admin I found this:

Screenshot 2023-07-26 at 19 32 31

Refreshed 3 days ago. At that time i encountered this problem with logged users!

khomya commented 1 year ago
Screenshot 2023-07-26 at 19 35 52

And I have a lot of "bulbs"

"There are no permissions being used for Firebase Authentication Admin for firebase-adminsdk-alltn@georgia-tennis*** Remove this role to clean up your policy. Analysis is based off of the last 90 days."

khomya commented 1 year ago

https://github.com/FlutterFlow/flutterflow-issues/assets/2369704/1afd555b-910b-4418-a56b-dad03f459f70

I also cant use the Dropdown search.

khomya commented 1 year ago

And BTW the week passed since this bug! I didnt get any response. And now I get letter that the day of payment is near. I couldnt use my APP or the FLUTTERFLOW for this week. I dont want to pay for this. I want a refund!

sbis04 commented 1 year ago

Hey @khomya, so sorry for this huge delay! But this issue was very project specific, and was really hard for us to reproduce. I think it's happening specifically because of the way the custom nav bar is being used (more on this as follows).

There can be two ways to fix this issue:

  1. The reason why this issue is happening in the first place is the combination of custom nav bar + checking for keyboard visibility on every page. The easiest fix would be to just remove the keyboard visibility check on the nav bar in every page (and this should definitely work, I've already tested it):
Screenshot 2023-08-03 at 9 51 23 AM
  1. The second way is to enable Replace Route inside the navigate action that's set on each of the Nav Bar IconButtons.
Screenshot 2023-08-03 at 10 08 56 AM

(But one thing to note here, by having this enabled users won't be able to just back and go to the previous nav bar selected page, they need to use the nav bar buttons to switch pages.

We will definitely dig into this issue deeper, in case there is a better solution so that you can use your app the same way it was actually configured. But while we look into that, these are the two options that you can try.

A more technical explanation of this issue (in case someone with technical knowledge of Flutter wants to understand the issue): Flutter navigation works like a Stack, so whenever to navigate to a new page it just adds the page as a stack (doesn't remove the previous page). Only when you go back from a page it actually gets removed. This issue was occurring because they was a keyboard visibility checker stream running in the background, which was active even you you navigate to a new page. And, this was causing conflict with the new keyboard visibility stream created on the new page -- eventually resulting in this huge issue!

khomya commented 1 year ago

Well!!!!! The first method helped!!! sbis04 - thank you very much!

sbis04 commented 1 year ago

No problem! I will close this issue for now.