AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.84k stars 836 forks source link

Samsung A30: No beacons detected #947

Open satishkumar-tudip opened 4 years ago

satishkumar-tudip commented 4 years ago

Hi David,

I have already raised the ticket https://github.com/AltBeacon/android-beacon-library/issues/945#issuecomment-581341649. I have gone through the link which you have shared and I have verified all the steps which you have mentioned. I have installed the BeaconScope app and tried scanning the Beacons at the same time in different mobiles in BeaconScope and it is scanning the list in the Redmi K20, Realme 2 Pro and I am unable to get the Beacons list in Samsung SM-A305F. All mobiles are of Android Version 9 and the same app is not giving Beacons list in some Mobiles at the same time. Whenever I am getting the Beacons list in the BeaconScope I am able to get the Beacons list in my App also.

BeaconVideo.zip

Can you please verify the Os issue which is occurring in some Mobiles?

IMPORTANT: This forum is reserved for feature requests or reproducible bugs with the library itself. If you need help with using the library with your project, please open a new question on StackOverflow.com.

satishkumar-tudip commented 4 years ago

The main thing is I want to scan for the Beacons only when the app is Foreground. I don't want to Perform Background Scanning. But for foreground scanning also I am not getting the Beacons List every time.

davidgyoung commented 4 years ago

The inability to detect at all on the Samsung A30 is concerning. A few possibilities:

I do not have an A30 to test with. This is an all volunteer effort so any help investigating the above possibilities would be appreciated.

Anybody else see beacon detections working on an A30?

davidgyoung commented 4 years ago

It looks like the A30 was at least certified by Bluetooth SIG

https://www.droidshout.com/samsung-galaxy-a30/

You might try turning off WiFi during Bluetooth scanning to see if that makes it work. Earlier Android phones like the Nexus 4 and original Moto G could not get Bluetooth scan results with WiFi on.

davidgyoung commented 4 years ago

@satishkumar-tudip, please do not add unrelated questions on an issue of a different topic. If you want general help using this library, StackOverflow is the proper forum.

Please understand that both this project and StackOverflow are free volunteer services so you will have to be patient in getting responses. If you need a higher level of support, you can consider hiring a consultant.

camaira commented 4 years ago

Hello, I have the very same problem with the Galaxy A8 (A530F), M31 and A21. I suspect it has something to do with the bluetooth stack. Do yo have any further infos on this topic? Any help is highly appreciated. Thank you.