-
Notifications
You must be signed in to change notification settings - Fork 236
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
Document Android 14 behavior changes for foreground services #997
Comments
Indeed - related is the new full screen intent item |
notifee.displayNotification cause crash on Android 14 when passing prop android: {asForegroundService : true} Update: Miss configuration in AndroidManifest cause this crash. Declare service type on manifest to prevent the crash |
As well as the foreground service permission, from May 2024 apps targeting API level 34+ apparently need to handle the fullscreen intent permission differently?
From: https://developer.android.com/distribute/play-policies |
this is possibliiy solution |
For anyone with this issue while we wait for the docs to be updated, you need to first add this to your manifest as pointed out above Then add a further permission based on the |
From the android docs
We would actually need support to set foreground service types dynamically, for example, sometimes location permission may have not been granted and we would still need to start the service In my view, |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
do we need this permission for notifee even? Play console only allows it for alarm apps (which ours clearly isn't but it schedules local notifications that need to be delivered with high timely accuracy) |
AndroidManifest.xml
|
https://developer.android.com/about/versions/14/changes/fgs-types-required#permission-for-fgs-type
Types are now required for Android 14, and their associated permissions need to be declared.
The text was updated successfully, but these errors were encountered: