3

It appears SDK needs to be updated for Android 12:

    java.lang.IllegalArgumentException: my.app: 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.
    at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
    at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
    at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
    at com.salesforce.marketingcloud.a.b.a(Unknown Source:10)
    at com.salesforce.marketingcloud.a.b.a(Unknown Source:16)
    at com.salesforce.marketingcloud.a.b.a(Unknown Source:74)
    at com.salesforce.marketingcloud.a.b.b(Unknown Source:7)
    at com.salesforce.marketingcloud.analytics.a.c.a(Unknown Source:88)
    at com.salesforce.marketingcloud.d.c$2.a(Unknown Source:6)
    at com.salesforce.marketingcloud.e.g.run(Unknown Source:17)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:920)
5
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Aug 27, 2021 at 10:54
  • No, this is fine @Community
    – Bill Mote
    Commented Aug 27, 2021 at 11:42
  • Thank you Matej. Looking into it.
    – Bill Mote
    Commented Aug 27, 2021 at 11:47
  • Will you keep us up to date here on any news? API 31 is stable, and we'd also like to target it as soon as possible.
    – sindrenm
    Commented Sep 15, 2021 at 19:05
  • 1
    I have this, and other similar questions followed. As soon as we release an update that supports Android 12 I will let you know.
    – Bill Mote
    Commented Sep 16, 2021 at 12:12

1 Answer 1

3

MarketingCloud Mobile Push SDK v8.0.0 has been released. This release includes support for Android 12.

5
  • Thanks! 8.0.0 worked for a while, but now when 8.0.1 is released, you seem to have yanked 8.0.0 from the repositories. Is this intentional? Thought I'd just bring it up in case that was in error.
    – sindrenm
    Commented Oct 12, 2021 at 10:39
  • 8.0.0 had an issue with notification trampolining on Android 12 devices for builds targeting Android 12. It was pulled on purpose. Thank you for mentioning it.
    – Bill Mote
    Commented Oct 12, 2021 at 11:57
  • @BillMote could you please also add the fix to the RN repo? github.com/salesforce-marketingcloud/…
    – RogerParis
    Commented May 10, 2022 at 14:19
  • Please open a voice of customer request through your account representative.
    – Bill Mote
    Commented May 13, 2022 at 15:03
  • Android 12 support is being added to v7 of the SDK which will work with Cordova and React. Expect a release "soon".
    – Bill Mote
    Commented Jul 7, 2022 at 16:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .