skip to Main Content

android:exported="true" not working and not letting flutter app be installed in android 12

app working properly with iphones,ipads and android 13 butnot working android 12. im using Dio() package. and unable the request. manifest. file <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />…

VIEW QUESTION

Android Studio – Unable to start activity: java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE

today my phone updated to android 12 and my app started to crash when I launch it. It is supposed to send a notification when launched. val intent = Intent(this, MainActivity::class.java) val pendingIntent: PendingIntent? = TaskStackBuilder.create(this).run { addNextIntentWithParentStack(intent) getPendingIntent(INTENT_REQUEST, PendingIntent.FLAG_IMMUTABLE)…

VIEW QUESTION
Back To Top
Search