please provide the result as textfile and NOT as screenshot
it also might help, if you could provide a test project as small as possible, which elicits this error and add it into this thread, so someone can tak a look
demoo.aia (2.0 MB)
sorry i couldn't run logcat on pc
when i run the app as it is no crash happen
the crash happen when i change target sdk to 34 in manifest by apktool in mobile and install it again
my phone is samsung A04s android 14
extentions itoo , notification style
The issue is that you will have to define broadcast receiver type while registering it, if you target API 34. Context.RECEIVER_NOT_EXPORTED Context.RECEIVER_EXPORTED
For example:
if (Build.VERSION.SDK_INT >= 34) {
activity.registerReceiver(receiver, new IntentFilter("MUSIC_FAVORITE"), Context.RECEIVER_NOT_EXPORTED);
} else {
activity.registerReceiver(receiver, new IntentFilter("MUSIC_FAVORITE"));
}
so currently, the notification extension is not working.
i have confirmed it by looking at the log, which autogenerated by my phone's system. Also trying to remove the extension from my build. And indeed it was the problem.
the error i meant was the app is force closing.
below are the logs (sorry for the screenshot, i can't copy the text.)
wooooooohoooooo thank you so much for your work, tested work on poco x6 with Android 14, the background process works as well though i don't know why it keeps popping the notification, i already close it in the recent but still running..
no worries though..