Skip to content

Scanning doesn't work or very slow on low network #18

@ivangr1

Description

@ivangr1

I found an issue with this library which probably has something to do with Flutter but it could be the library itself.

Everything works fine when there is a stable network connection, and it even works fine if there is no connection at all i.e. when airplane mode is turned on, as it is expected.

The issue arises when I enable Network Link Conditioner on iOS which simulates weak and unstable network connection, and the weaker connection I choose, the slower the scanning process is, and if I choose 100% packet loss (meaning there is connection present but it doesn't transmit any data) - the scanning doesn't work at all. I thought that there was something blocking it in our app, but then I cloned your repository clean and the issue was still present.

This happens both on Android and iOS although I cannot find a good way to test low network on Android, so I just create a hotspot on iOS and connect my Android on it and the issue reproduces.

It doesn't affect many users, but we have had a few complaints from users who probably got affected by this issue.

Can you help us solve this?

Thank you!

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