Android 12 New Bluetooth Permissions

100% working solution : no need any 3rd party plugin manifest code: <!–BLUETOOTH PERMISSION–> <!– Request legacy Bluetooth permissions on older devices. –> <uses-permission android:name=”android.permission.BLUETOOTH” /> <uses-permission android:name=”android.permission.BLUETOOTH_ADMIN” /> <!– Needed only if your app looks for Bluetooth devices. If your app doesn’t use Bluetooth scan results to derive physical location information, you can strongly … Read more

Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

Android 12 require you to add a piece of code to your main activity Go to your project folder and open AndroidManifest.xml file Add the below code in activity android:exported=”true” Reference: <activity android:name=”.MainActivity” android:exported=”true” android:launchMode=”singleTop” android:theme=”@style/LaunchTheme”> </activity>

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified

If using java or react-native then paste this inside app/build.gradle dependencies { // … implementation ‘androidx.work:work-runtime:2.7.1’ } If using Kotlin then use this dependencies { // … implementation ‘androidx.work:work-runtime-ktx:2.7.0’ } and if anybody still facing the crash issue for android 12 then make sure you add following in AndroidMenifest.xml <activity … android:exported=”true” // in most … Read more

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘an

According to google new policy If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported: true attribute for these app components. FOR FLUTTER AND REACT NATIVE PROJECTS : add this line to AndroidManifest.xml file of project : android:exported=”true” Now just … Read more

Manifest merger failed targeting Android 12 [duplicate]

The issue was caused by 3 activities missing the android:exported attribute in the androidx.test:core library version 1.3.0. Upgrading to version 1.4.0-beta01 fixed the issue. If you are getting errors after targeting Android 12, the easiest way to debug this is to: downgrade to a prior sdk version rebuild project after a successful build, open your … Read more

android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify

I had this issue and one of the libraries I used wasn’t setting it correctly. Find location First of all, we need to find the exact location and/or cause for the error, which can be done with different approaches (see below). Find by inspecting merged-manifest (approach #1) You can find it by doing the steps: … Read more