edufolly / edufolly/flutter_bluetooth_serial

How to pair automatically without showing alert box to enter the pin?

Open
#166 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
518
Forks
662
PR merge metrics
No merged PRs in 30d

Description

I tried the following code. But it is not connecting.
I tested in Huawei P20 Pro (Android version 10)

await FlutterBluetoothSerial
.instance
.bondDeviceAtAddress(deviceAddress, pin: "1234")

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the bondDeviceAtAddress call shown in the issue and reproduce it on the reported Huawei P20 Pro with Android 10. Check whether pairing with the supplied PIN can complete without an alert; done means confirming the supported behavior and documenting the result or a clear limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.