Skip to content

iPhone Devices not connecting. Android work... #34

@Egemen-Arslandogan

Description

@Egemen-Arslandogan

I haven't been able to solve this problem for about 2 weeks, can you please help?

I wrote an application that connects to a pos device (printer) via bluetooth with Flutter. I can connect and print without any problems on the Android device. But when I try it on my iphone; The printer appears on the scanning screen. But when I try to connect it does not connect. The printer's bluetooth light shows a connection for 1-2 seconds and turns off immediately. So the device tries to connect and fails right after.

I don't think there is a problem with the permissions, it already sees the printer on the scanning screen, so the bluetooth permissions are correct.

But it is causing problems while connecting. In addition, as additional information; When trying to connect with Android, the MAC address of the printer is different, while trying to connect with iPhone, the MAC address is different. I wonder if iOS is making a crypto?

I wonder if the iphone has taken a security measure because it is in test mode?

Libraries I use:

flutter_bluetooth_basic

esc_pos_bluetooth

Both libraries have the same problem.

By the way, I tested it from 3 different iphone devices, so there is no problem with the device I use.

Looking forward to your help and suggestions. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions