alann-maulana / flutter_beacon

An hybrid iBeacon scanner and transmitter SDK for Flutter Android and iOS.
Apache License 2.0
116 stars 142 forks source link

Beacon detects successfully on physical device, but not in Android Emulator #79

Open zachisit opened 3 years ago

zachisit commented 3 years ago

The title says it all. I'm able to successfully see beacons when I compile to a physical device, but when I run the code on the Android emulator via VSCode it doesn't show any beacons. I'm not seeing any issues with this topic, so not sure if this is something obvious I'm missing or not. Any help would be greatly appreciated.

mtpython commented 3 years ago

Likely using the plugin requires a physical bluetooth module, I wouldn't account for using emulators here.

PetrosPoll commented 3 years ago

Hello, I'm trying to do this to run correectly but my app can't recognize the beacons. At the beacon list where parse the result of scanning the forEach doesn't work correct but I can't understand why.

Can you provide me your source code that working please? My email is pollakis.p6@gmail.com.

That will save many hours for me :) Thank you very much!

alann-maulana commented 3 years ago

Hi @zachisit

You can try to implement Beacon Simulator to achieve this https://altbeacon.github.io/android-beacon-library/beacon_simulator.html. If someone can send a pull request about it, it would be great 😁