I’ve added that information with some more to the case. But Support does not seem to be interested for supplying a solution.
Hi, I am encountering the same problem and there seems to be no solution from Samsung. It is very urgent that this is fixed as soon as possible, as every day hundreds of new users are triggered with errors when using Android 12 and this penalizes our applications. This is a problem that arises from SAAgentV2 (also in SAAgent), so it cannot be modified by us, and should have been foreseen by Samsung before Android released its new version. Please solve this ASAP.
@drm
actually Google is not forcing Android 12 “yet” for the developers. So if you target your app to Android 11 , it should work for now. What I am trying to get from Samsung is a solution “before” Google forces targeting Android 12. I guess that will be around September 2023, so we still have about a year.
I hope Samsung comes up with a solution.
please correct me if I am wrong at some point…
Actually is November this year: Meet Google Play's target API level requirement | Android Developers (August for new apps). But anyway, in case you would like to use other kind of libraries or features such as the androidx libraries (and others) to benefit form the last upgrades you are forced to upgrade the app to the Android 12. And we cannot scape from upgrading to Android 12.
ah, thanks for this information.
As I don’t have an intention to release a new companinon app or update the available ones, I didn’t think that it is urgent.
But you are correct, if you have to update, then you’ll be in trouble after november.
Btw, did you try testing your app targeting Android 12 and disabling battery optimization for it ?
Another approach might be doing SAAgent peer connection on the activity instead of service. Then the user has to see the activity (if it works) whenever the peer connection is made.
Hi guys, I can see the same issue in my app crash statistics. Google even says my crashes are above the “bad behaviour threshold” at 2% of users per day.
Because of package dependencies I already had to update my app to Android 12/ Api Level 31. Looks like it was a bad idea.
It’s 2 months since the last post here and a solution, or at least a workaround is getting more urgent.
what can we do ?
I already submitted a ticket to Samsung. But did not receive any response for several weeks.
Did you submit an issue ?
I just submitted a detailed ticket including stack traces etc, highlighting the urgency and November 2022.
Good news, a fix is coming:
We have escalated your issue to our development team. Our development team is working right now to support API 31. Hopefully we will get back to you with the new version within next month.
Did you receive any fix yet ?
I had the same answer to my question on Sep 28th. But there is no other information after that date.
Now we are obliged to publish or update apps with API 31 (Android 12)
but it does not work with Samsung Accessory service.
I heard the fix will be available by end of jan 2023.
Does anyone know any workaround we can use beforehand as I would like to release an updated before Christmas?
no workaround that I’m aware. But you may try asking “no battery optimization” setting from the user.
if this option is allowed for an app, the app can stay active in background on Android 12.
Btw, does anyone know what the fix will include for us at the end of Jan.2023 ?
Shall we have a new method , shall we need to change our service code or will it work with current code ?
Hi,
Anyone found the solution, please share it?
Or there’s any news from Samsung?
Thanks
Hello,
Do you have any information about this issue?
Thanks
The newest One UI 5.1 for S23 devices announced Feb 1st at Galaxy Unpacked is supposed to be added to other devices soon. I can’t find exactly what changed maybe it is on one of the Android discussions.
Usually the change announcements for end users are pretty basic no details.
Ron
Samsung Developer Relations
Hello! What is the current state of this issue? On Android 14 I get crashes regarding the missing foreground service permission even if battery optimization on the phone is disabled for the app. I’m using accessory sdk version 2.6.5.
Is there fix or workaround for this?
Hello,
Welcome to this forum. Can you please create a ticket on the Samsung Developers Support Channel? Hope you will get a faster response.