title: Android 12 targetSDKVersion 31 challenges (Broadcast Receiver, Pending Intent) Crash Issues
body: <p>Below are the challenges I faced so far when running an Android app with <strong>targetSDKVersion 31</strong> on a phone with OS Version <strong>Android 12</strong></p>
  <p><strong>1) App is not getting uploaded to store</strong>
  Error :- You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the <strong>'android:exported'</strong> property set. This file can't be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported</p>
  <p><strong>2) App is getting crashed</strong>
  java.lang.IllegalArgumentException: 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. <strong>FLAG_IMMUTABLE / FLAG_MUTABLE</strong> tag is required for all Pending Intents</p>
  <p>Please help how to address these issues ????</p>