Hi @all,
I mostly surf the net if I'm stuck, but this seems to be a first timer for Delphi developers. No cerresponding answer pops up.
I developed an app with 11.1 for Android target 30 including push notifications and local notifications.
Works great.
But... Play store says: you're not on level 31? You're not coming in!
Alright; I do the manifest trick to fake SDK level 31.
Play store accepts. I am happy.
Until I try the first push notification with an app downloaded from Play Store:
java.lang.IllegalArgumentException: <appname> Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Dear god, ever heard of defaults, Google?
So I installed SDK 31 since I assumed the problem would be solved by that.
No, it's not.
Is it the NDK? I did not update that, since I did not find a matching NDK (platform folder is missing or prebuilt etc.)
I wish Embarcadero would maintain that better besides urgeing you to an update of Delphi.
Would updating Delphi to 11.2 or 11.3 really help?
That's time I would like to spare since I already crashed the deadline of this project due to the notification problem.