FlutterFlow / flutterflow-issues

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

Problem with changing mode (dark and light) #3847

Closed Emvipy closed 1 month ago

Emvipy commented 1 month ago

Can we access your project?

Current Behavior

When switching from dark to light mode or vice versa, for some reason and not always, 2 things happen, either the screen remains grayed out or you are kicked out of the app and sent to the Welcome page. This also happens if you change the dark or light mode from iOS (not from the app). This happens on both iOS and Android but does not happen in test mode from FF. Attached videos made in iOS

Expected Behavior

Continue to use the app normally after the change..

Steps to Reproduce

change mode in native app

Reproducible from Blank

Bug Report Code (Required)

IT4klPHl05NOm9tJ7s7TbflvgScQH0c3TLJEtusbTUggfbL4Ook2OeLRYlZuYNyzaHNhM2aIiXEC3NGNvvP1VPc4KQ2tRaY/zalhFhPPYz6WeJClC8/gP0FAMNFXBX6w3KujuRBSANBYWkYj3U2QF+SXFj+Cf9qOYwx5e6fDbOY=

Visual documentation

https://github.com/user-attachments/assets/16cde316-86a1-405f-bacd-0d1812a11044

https://github.com/user-attachments/assets/436f884d-f767-46e4-8dc5-eacd8ae56ded Screenshot 2024-09-18 at 18 2
![Screenshot 2024-09-18 at 18 25 37](https://github.com/user-attachments/assets/fd5111c6-5374-4412-b9a2-89769b8086ad)
5 29

Environment

- FlutterFlow version: FlutterFlow v4.1.91 released September 11, 2024
Flutter version is 3.22.2
- Platform:Mac
- Browser name and version:
- Operating system and version affected: iOS & Android

Additional Information

No response

paulperez-dev commented 1 month ago

Hi @Emvipy,

I was able to change the app theme on my end. Could you please provide more context about the issue you’re experiencing? It would be helpful if you could include the steps to reproduce the problem and share the bug report code for your project.

Thank you!

Emvipy commented 1 month ago

Hello, the problem is not that it does not change the subject, it is that after doing so, if I click on any link such as going to the Home, it happens what is shown in the videos.... As it only happens in native app, I can't debug but it seems like all the state variables are deleted or something similar.

Emvipy commented 1 month ago

Hi @Emvipy,

I was able to change the app theme on my end. Could you please provide more context about the issue you’re experiencing? It would be helpful if you could include the steps to reproduce the problem and share the bug report code for your project.

Thank you!

I think I found the problem, I think it's a query to Xano, but I'm going on a trip and I won't be able to check it thoroughly until next week, can you leave this ticket on stand by and next week I'll let you know?

Emvipy commented 1 month ago

Yes, It was a query to Xano. Sorry

paulperez-dev commented 1 month ago

Hi @Emvipy,

Thanks for the confirmation!