Skip to content

Type error in isSupportOpenBusinessView on iOS #706

@crasowas

Description

@crasowas

Describe the bug
On iOS, calling isSupportOpenBusinessView returns an int instead of a bool, causing the following Dart runtime error:

type 'int' is not a subtype of type 'FutureOr<bool>'

This does not occur on Android.

To Reproduce

final isSupported = await Fluwx().isSupportOpenBusinessView;

Expected behavior
Should return a bool (true/false), not int.

Which version of Fluwx do you use?
5.5.2

Which device do you run on
iOS 18.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions