Questions tagged [android-13]

247 questions
58
votes
5 answers

Android 13 - How to request WRITE_EXTERNAL_STORAGE

I am targeting my Android app for Android 13 (API 33) The WRITE_EXTERNAL_STORAGE permission seems to be working fine below API 33 i.e. Android 12 and less but the runtime permission popup for WRITE_EXTERNAL_STORAGE won't appear when running the app…
56
votes
2 answers

Android 13 - READ_EXTERNAL_STORAGE_PERMISSION still usable

The behaviour changes for Android 13 mention this: If your app targets Android 13, you must request one or more new permissions instead of the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE…
Christopher
  • 9,682
  • 7
  • 47
  • 76
28
votes
1 answer

OnBackInvokedCallback is not enabled for the application in Set 'android:enableOnBackInvokedCallback="true"' in the application manifest as warning

I'm running my Android Application `Android-13, in the Logcat I'm seeing this warning, How to resolve this? OnBackInvokedCallback is not enabled for the application. Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
FGH
  • 2,900
  • 6
  • 26
  • 59
28
votes
3 answers

Why did Android 13 remove the Foreground Service notification?

Sorry for the sort of click-bait title; I couldn't think of a more concise way to say it. In Android 13, if the user doesn't grant the "dangerous" POST_NOTIFICATION permission, then Foreground Service notifications are not shown in the Notification…
user19309143
16
votes
2 answers

Start foreground service after notification permission was disabled causes crash (Android 13)

So, I've been experimenting with the new Android emulators (namely Android 13 or Android Tiramisu, API 33) and on an app, I need a foreground service. The app's target SDK is currently 33. Due to the notification requirement, I've added the…
15
votes
5 answers

Android 13 not asking for POST_NOTIFICATIONS permission

My App wants to send Notifications, but the new Permission added in Android 33 defaults to be denied, and somehow Android does not automatically prompt the user when trying to create a Notification Channel. Is there anything I'm missing? If not, how…
isi_ko
  • 417
  • 1
  • 5
  • 14
13
votes
4 answers

Android API 33 permissions are not granted

So as I read in the developer.android site the Android 13 brings new changes in the Permission field. I have a Chat application where I need to make calls, open the camera, record audio, read and write in the external storage. So in the SplashScreen…
james04
  • 1,580
  • 2
  • 20
  • 46
11
votes
2 answers

android adding DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION in release build

After building my application with api-level 33, android is adding new permission in the merged manifest
11
votes
0 answers

Does Android 13 Treat the video and image permissions the same?

Android 13 has a new feature known as “Granular Media Permissions” (https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions). My team and I are trying to make sure we request the right permissions for an…
11
votes
0 answers

Android 13 AD_ID Declaration - Not Recognized by Play Console

In an Android app that targets Android 13 (SDK 33), I have declared the required AD_ID permission in the app manifest: However, when I upload the app to the play console…
JerseyDevel
  • 1,334
  • 1
  • 15
  • 34
10
votes
1 answer

Granular media permissions Android 13 API 33

I've been upgrading my project to SDK 33. I changed the permissions where I needed to access media files, such as photos, with the new permission READ_MEDIA_IMAGES and it is working fine. But I need to access documents such as PDF files in order to…
Dipsy
  • 141
  • 1
  • 1
  • 7
7
votes
2 answers

Is there a difference between "areNotificationsEnabled()" and "checkSelfPermission(this, Manifest.permission.POST_NOTIFICATIONS)"

Google says that all apps targeting Android 13 (API level 33) in order to be able to work with notifications must ask for Manifest.permission.POST_NOTIFICATIONS permission. My question is: which is a proper way to check if that permission is already…
porlicus
  • 739
  • 1
  • 7
  • 14
7
votes
1 answer

Why is per app language not working with application context on pre Android 13

I am trying to implement the per app language feature that was introduced in Android 13. I am using AppCompatDelegate.setApplicationLocales and it's working very well on Android 13. On Android 12 it's working if I use activity context but not…
6
votes
2 answers

Notification not being shown in Android 13

Due to the recent changes in Notification permissions in the Android 13 SDK, I need to update my app with FCM integration to obey the notifications rule. I have upgraded the compileSdk to 33 and also the targetSdk to 33. I have written code to ask…
6
votes
2 answers

Android Studio Error: One UI 5 upgrade (Android 13) Adb error executing shell command pm list on data/data/ folder

Android Studio's Device File Explorer stopped working properly after upgrading Samsung Galaxy A52 phone. I've got error on data/data/ folders error executing shell command pm list Details about Phone and Android Studio: Galaxy A52 (SM-A525F) Build…
adatadoc
  • 169
  • 1
  • 7
1
2 3
16 17