Skip to content
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

Notifications are not displayed on Android 14 in the background #1200

Open
jirka-oone opened this issue Aug 23, 2024 · 2 comments
Open

Notifications are not displayed on Android 14 in the background #1200

jirka-oone opened this issue Aug 23, 2024 · 2 comments

Comments

@jirka-oone
Copy link

Expected behavior

notification is triggered

Actual behavior

notification not triggered when beacon is found

Steps to reproduce this behavior

I ran a test app [https://github.com/davidgyoung/android-beacon-library-reference-kotlin] - scanning beacon Eddystone. The app works fine in the foreground, the notification was displayed that it found the beacon in the nearby, but when I tried a similar steps in the background, the notification was not displayed. test on android 12, 13 was successful and without problems,
do you know what could be wrong, thx

Mobile device model and OS version

test device: galaxy a14, android 14

Android Beacon Library version

8cd351f
2.0-beta.6-624-g8cd351f

@davidgyoung
Copy link
Member

Did you really use the library version from this commit? 8cd351f

That library code is from 7 years before Android 14 was released so there is no way it will work to detect beacons in the background on Android 14. You must use a much newer library version. The latest is 2.21.0-beta3 which has specific fixes for Android 14.

@davidgyoung
Copy link
Member

This may have been fixed by #1205 or #1208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants