capacitor-stripe-terminal icon indicating copy to clipboard operation
capacitor-stripe-terminal copied to clipboard

batteryLevel is always null in v2.1.0-beta.3

Open kyleabens opened this issue 3 years ago • 3 comments

Describe the bug the batteryLevel on the reader object is always null in v2.1.0-beta.3

To Reproduce install v2.1.0-beta.3 and discover card readers and look at the reader object for any bluetooth device found

Expected behavior batteryLevel should contain an actual value on reader object just like v2.0.0

Desktop (please complete the following information):

All

Smartphone (please complete the following information):

All

kyleabens avatar Feb 17 '22 19:02 kyleabens

@kyleabens Are you seeing this only during discovery or always? If it's just during discovery, what discovery method are you using?

nprail avatar Mar 02 '22 16:03 nprail

@nprail I'm using the new both discovery method.

kyleabens avatar Mar 03 '22 00:03 kyleabens

@kyleabens were you using BluetoothProximity before?

Both uses the Internet and BluetoothScan methods under the hood. If I remember correctly, BluetoothScan does not show battery level during discovery.

nprail avatar Mar 03 '22 01:03 nprail

Closing this since its been dormant for awhile. Re-open if it is still an issue.

nprail avatar Feb 28 '23 18:02 nprail