Skip to content

Enums are not correctly deserialized when being returned on an algolia search on iPhone and Android devices #3464

@QuinnGunter

Description

@QuinnGunter

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

when creating a listview that shows the results of an algolia search if one of the fields is an enum it is not being deserialized and i believe it is being returned as a String causing a null value in the ui.

This is resolved on web. However is still an issue on iphone and android physical devices

Expected Behavior

i expect to have the value properly valued as an enum on mobile devices as it is on web

Steps to Reproduce

  1. add a schema to firebase with a enum value in a field
  2. add algolia to the project
  3. add a listview that displays the results of an algolia search
  4. add some variable that is set to the enum field of the algolia search with a default value i chose ERROR
  5. run in test mode on android or ios
  6. search for an item and see the value in the listview

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT48lfLqw4VgoctF7r6Jc8Ewlj0vJl87U4E7jdYaZxU8J5zTP4YIP/v7ak5oO7ynT3NmJWGgrHEy/PfqifLDF8IqIRCuQYtxyqt2Wg/KJDuWVpCXEc2vfW1RHpthJlS/16ujmgp+VdJqdUY/22CQI96+dBXYHuP6Ino3IvmlKdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Functional on web/ run issue on mobile test devices
https://github.com/user-attachments/assets/077ff2f5-016b-4325-abd1-bc6c580a4ab9 https://github.com/user-attachments/assets/d5b4b25d-4d71-4164-9e29-b42a9599f01b

Environment

- FlutterFlow version: Version 4.1.75 (4.1.75)
- Platform: Local test or physical device
- Browser name and version: na
- Operating system and version affected:  macOS 14.5 (23F79)

Additional Information

Same issue as here. Web and run modes work. However Ios and Android phones fail to display results. #2756

Metadata

Metadata

Labels

Bugstatus: confirmedIssue has been reproduced and confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions