-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BeaconManager being passed Null context #466
Comments
Fixed by instantiating beaconManager inside onCreate
|
Thanks for this report @graham768. I have updated the documentation so that the BeaconManager is not shown as being constructed in an instance variable declaration. Hopefully this will save other folks the same trouble you had. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I compiled the source in my build.gradle and copied the code from the 2.x API Transition guide into a new Android project to test the library for the first time. I saw an issue similar to this, but the library was known to be edited. I have not changed any aspect of the library in this case.
Expected behavior
I was hoping the program would run and check for the default UUID given in the source code.
Actual behavior
Steps to reproduce this behavior
Start a new project. compile 2.9.2, paste API Migration code in MainActivity, and run
Mobile device model and OS version
Nexus 6P 6.0.1
Android Beacon Library version
2.9.2
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.
The text was updated successfully, but these errors were encountered: