Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Egemen-Arslandogan opened this issue Dec 4, 2021 · 1 comment
Open

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

Egemen-Arslandogan opened this issue Dec 4, 2021 · 1 comment

Comments

@Egemen-Arslandogan
Copy link

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.

@Princewil
Copy link

A quick question.
Is this package use for scanning Bluetooth enable printers only? Cause I can find my mobile devices and laptop Bluetooth during scanning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants