android-beacon-library: Not able to stop Advertising

Expected behavior

mBeaconTransmitter.stopAdvertising();

This has to stop advertising

Actual behavior

The mobile will keep on advertising after the stopAdvertising method is called .

Steps to reproduce this behavior

                mBeaconTransmitter.startAdvertising(beacon);
                Thread.sleep(10000);
                mBeaconTransmitter.stopAdvertising();

Mobile device model and OS version

Moto G (3rd Generation) OS : 5.1.1

Android Beacon Library version

Android Beacon Library 2.7 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.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 20 (8 by maintainers)

Most upvoted comments

Hi, I have the same issue with . It seems that something change the variable BeaconTransmitter.this.mStarted to false in BeaconTransmitter.class after enter in onStartSuccess and execute BeaconTransmitter.this.mStarted = true;

Can anyone help? If you need more data I can gave you.

Device: ASUS Zenfone ZE552KL OS : 7.0 Android Beacon Library: 2.12.2

LOGCAT_BEACON.txt

I am facing this problem, please help if someone has already solved this.