I am way over my paygrade with this...
I currently use the Core.Intent object to provide media sharing capabilities in my app.
If I set [android:targetSdkVersion="31"] in the manifest I get the dreaded error message:
Scratching around the B4A forum I see that Erel has already fixed a similar issue in the [NB6.b4xlib] library.
I tried to work out how to jury-rig my code by imitating(???) what he did in this library - with no success.
I have come to the conclusion that some fiddling in the Core.Intent code needs to be done that is way beyond me.
According to the Google Developer website any new app has to be at API 31 and any updates of older apps must be brought up to API 31 by November this year.
So if I can find no solution to this I will not be able to update my app from start of November.
Do the custodians of the Core have this in hand?
I currently use the Core.Intent object to provide media sharing capabilities in my app.
If I set [android:targetSdkVersion="31"] in the manifest I get the dreaded error message:
Caused by: java.lang.IllegalArgumentException: treetops.app.customer: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
Scratching around the B4A forum I see that Erel has already fixed a similar issue in the [NB6.b4xlib] library.
I tried to work out how to jury-rig my code by imitating(???) what he did in this library - with no success.
I have come to the conclusion that some fiddling in the Core.Intent code needs to be done that is way beyond me.
According to the Google Developer website any new app has to be at API 31 and any updates of older apps must be brought up to API 31 by November this year.
So if I can find no solution to this I will not be able to update my app from start of November.
Do the custodians of the Core have this in hand?
Last edited: