codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Home Page:https://www.codenameone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot receive push notifications on Android 12 while app is in the background.

shannah opened this issue · comments

Multiple users have reported issues with not being able to receive push notifications while app is in the background on Android 12. This thread includes a possible fix - or at least workaround:
https://www.reddit.com/r/cn1/comments/xlclcf/comment/ipzc7vf/?utm_source=share&utm_medium=web2x&context=3

I have made a change that should fix this issue. Preliminary tests working on my test device. You can try this out now by building sources from master yourself, and setting your cn1.version to 8.0-SNAPSHOT. Or wait for next release 7.0.84 which will include this fix.

This fix applies to maven local builds only.

I will be adding equivalent fix on build server shortly.

This fix is also now applied to the build server. It will be available in next update next friday.