-
Notifications
You must be signed in to change notification settings - Fork 837
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
API 30/android 11 library won't run anymore. #1018
Comments
@JimSeker did you add 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' to your app module or to fetched beacon lib module? |
Yes, it is necessary to add I have made a full kotlin version of the reference app here which includes the above: https://github.com/davidgyoung/android-beacon-library-reference-kotlin/ I still need to update the Library docs to show this proper setup. A future release will make this unnecessary, but for now it is required. |
thanks. I look forward to the new release. |
Resolved via #1022. If using 2.18-beta or higher (now available on Maven Central as JCenter is going away) you no longer need to include the localbroadcastmanager dependency. |
Expected behavior
implementation 'org.altbeacon:android-beacon-library:2+'
should run, but fails.
Actual behavior
Steps to reproduce this behavior
You only need the implementation line and beaconManager = BeaconManager.getInstanceForApplication(this); to cause the failure.
Mobile device model and OS version
Android 11.
Android Beacon Library version
implementation 'org.altbeacon:android-beacon-library:2+' //2.17.1 I think is current version.
note this is fixable by adding implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' to module build.gradle file.
See
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: