Questions tagged [android-permissions]

Permissions in the AndroidManifest.xml that allows an app to perform certain actions that are disallowed by default

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

"cordova-plugin-zip" was working on Android 8 but not in Android 12, 13

I had this funcion based on cordova (cordova-plugin-zip 3.1.0) to unzip a .zip file working perfectly fine in Android 8: export async function decompressService() { return new Promise((resolve)...
Alan Alvarez's user avatar
0 votes
1 answer
32 views

File stuck in pending until WiFi is turned on

I'm using Download Manager to download a file Ton an Android 10 device that is connected to a private APN on cellular network which leads to a private server. *The server is not reachable from regular ...
Roni Beitel's user avatar
0 votes
2 answers
49 views

Android permission popup doesn't show while opening an app

I am trying to create a music app. this app requires write external storage permission. I am having android 13 Api 33. i added uses permission in manifest file and main.xml file like below, in ...
coppersmith's user avatar
0 votes
1 answer
42 views

Permission issue in Android 12 and 13

Previously my application's target sdk is 31and my device is Android 12 ,and i give for camera and storage permissions.Even after giving permission for READ_EXTERNAL_STORAGE ,not opening the phone ...
Greeshma S's user avatar
0 votes
0 answers
25 views

My recent app got rejected because of android.permission.QUERY_ALL_PACKAGES

My recent app got rejected because of android.permission.QUERY_ALL_PACKAGES because of play policy how to get arround with it. without removing te permissions my app needs it to perform certain ...
Shubham Chakraborty's user avatar
0 votes
0 answers
18 views

Permission analysis of APK

Have anyone tried to use this extension of Androguard and MobSF ? This is the Github link: https://github.com/chushu10/apk-static-features-extraction I cannot find the file mass_static_analysis.py of ...
gaugau's user avatar
  • 1
0 votes
0 answers
18 views

Crash from Permission

I'm trying to take permission to change imageView with another image from library that users choose. So, I connected RecipesFragment with MainActivity with NavHostFragment.But when I try to run the ...
Alperen Avan's user avatar
4 votes
0 answers
108 views

Android 14's `READ_MEDIA_VISUAL_USER_SELECTED` not working as documented

Android 14 (API level 33) introduces the new READ_MEDIA_VISUAL_USER_SELECTED permission, the behaviour of which is documented here. It states that: If you don't declare the ...
Radu Topor's user avatar
  • 1,554
0 votes
0 answers
25 views

ContentProvider throws Permission Denial when permission is present in manifest

The Idea: I've got two Android applications, one has a service that will grab file assets to display (service_app). The other application has a ContentProvider and file assets (content_app). The ...
kralvarado's user avatar
0 votes
0 answers
44 views

how to grant permissions on xiaomi

I'm developing an app with minSdk 26 and target 33. The problem is that in samsung (s20 ultra with android 13) the dialog for permissions runs great, but in a poco x3 (MIUI Global 12.5.8.0) the ...
Víctor Martín's user avatar
0 votes
1 answer
28 views

Create a secure ContentProvider (Custom) get SecurityException after adding knownSigner

I have 2 applications (different signing keys) which I want to have secure content provider between these 2 apps, I researched and the conclusion was using permission like below: <permission ...
Masoud Kardani's user avatar
0 votes
0 answers
32 views

Looking for docs about Android killing the process when runtime permission is revoked

When the user gives my Android app a runtime permission (e.g. BLUETOOTH_CONNECT) and it's running, and then the user goes to app settings and revokes this permission, the process is killed and ...
wujek's user avatar
  • 10.2k
0 votes
0 answers
70 views

Flutter: Handle permission for PDF file access in Android

Since the Android 13 permission update, managing access to user storage has changed and I'm tackling this issue. I've done a bit of reading online about the update and I have updated my ...
Tom's user avatar
  • 173
1 vote
1 answer
30 views

Webview can not open camera when return back and open webview again

I have project that load webview and open camera to scan QR code. But sometimes I return from page and enter again it shows gray play button in the page. When I open in emulator it works oftenly when ...
Ahmet Yılmaz's user avatar
1 vote
1 answer
357 views

Duplicate WRITE_EXTERNAL_STORAGE permissions in AndroidManifest using Cordova 12 for Android 13

Introducing app using Cordova 12 which requires target SDK Android 13 / API 33. My app depends on the following plugins (among many others)... cordova-plugin-camera cordova-plugin-media-capture Both ...
jmelvin's user avatar
  • 567
0 votes
1 answer
52 views

New Android storage Permission for API 13 and above

I want to save image from an ImageView to storage in Android using JAVA. I want to know how to give storage permissions for API 13 and above.
Muhammad Zeeshan Ali's user avatar
-1 votes
0 answers
29 views

I want files access in android 11+

I want to enable file access permission in Android 11+ without MANAGE_EXTERNAL_STOARGE permission for my app to create a folder in external storage and download files in my own created folder, I saw ...
Goldfish Production's user avatar
0 votes
0 answers
61 views

How to handle this permission error on ACTION_OPEN_DOCUMENT or related APIs in kotlin/android?

Please, consider that I'm new at Kotlin and Android development. I have an app that users can add a pet with an image. But, when I try to bind the image in the main activity in a RecyclerView reading ...
Henrique Branco's user avatar
0 votes
1 answer
37 views

Unable to grant permission to my android app to read a text file on android 13

i am implement an android application in java and everything was working perfectly until i install it on an android 13 version . Since then , i can't grant the permission to read file ( specially text ...
Patrick Renaud's user avatar
0 votes
0 answers
16 views

Why don't my app's variants show up on the file permissions page?

My app has a massive amount of data so for development iteration we don't want to push that data to the device every build. We put the data on the SD Card and use the MANAGE_EXTERNAL_STORAGE ...
Bungles's user avatar
  • 1,985
-1 votes
0 answers
50 views

ERROR: Failed host lookup, OSError (OS Error: No address associated with hostname, errno = 7)

I am currently developing a mobile application and when I was doing tests to request the permissions I started to get a pause in exception in my visual code call row The Internet AndroidManifest ...
Joseph Mori Herrera's user avatar
0 votes
1 answer
73 views

java.lang.SecurityException: Permission Denial: starting Intent when trying to ask for bluetooth permission

I'm working in a Flutter android plugin and I'm not well familiar with Android development environment. I'm facing an issue that seems to be "popular", but all the solutions I tried didn't ...
GGirotto's user avatar
  • 857
0 votes
0 answers
40 views

Android OS 13 permission updates

My android app is working fine on devices with OS 12 and below but the same is throwing a message "Please manually change permissions from phone settings" for device with OS 13 though at the ...
Abm's user avatar
  • 271
1 vote
1 answer
92 views

How to request a permission on Android

I'm new to using Android Studio, just want to make a basic app for myself, and I can't request any permission on my phone, it just refuses automatically. I'm using Kotlin but also tried in Java (as I ...
chdarro's user avatar
  • 13
0 votes
1 answer
30 views

My own Location permission utility function for fragments. is that ok? (JAVA)

I tried to write an minimized utility function for location permission for fragments as follow: public class LocationPermissionUtils { private static final String LOCATION_PERMISSION =...
user21193451's user avatar
0 votes
0 answers
51 views

Is it necessary to grant new Android 13 - Granular media permissions to use react-native-document-picker

I am a react-native and I have been using react-native-document-picker almost for two years and never granted any permission to use it. I am able to pick documents, Images or Audio files from ...
ThinkAndCode's user avatar
  • 1,329
0 votes
0 answers
20 views

Android SEND_SMS Permission Declare

If your app requests to use sensitive permissions, such as SMS or Call Log permission groups, you must complete the Permissions declaration form. I want to send sms to the user who added reference in ...
ahmet aktekin's user avatar
2 votes
0 answers
55 views

"MANAGE_EXTERNAL_STORAGE" permission on Wear OS 4

Description I have encountered an issue with granting the "MANAGE_EXTERNAL_STORAGE" permission on Wear OS 4, and I'm seeking assistance in resolving it. On Wear OS 3, I had no trouble ...
MISU's user avatar
  • 31
-1 votes
0 answers
21 views

What permission does android.intent.action.CREATE_DOCUMENT require?

The following code usually works fine: Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT); intent.addCategory(Intent.CATEGORY_OPENABLE); intent.setType("file/binary"); intent.putExtra(...
Hong's user avatar
  • 17.7k
0 votes
1 answer
118 views

APP in Java not responding when enabling Bluetooth in a device in Android Studio

I'm trying to design a simple Application in Java in Android Studio to enable Bluetooth on the phone. Basically, I have two buttons (to enable and disable the Bluetooth). I've tried to use the new way ...
SemirAdam's user avatar
0 votes
0 answers
27 views

Ionic Android app rejected in play store - Location permission

My app got rejected from play store mentioning the below enter image description here But we have mentioned the same the app and also added a video of the same while submitting for review. But got ...
Rashmika's user avatar
0 votes
1 answer
26 views

Notification and Request permission function not working for Android Studio Android 6.0

I'm building an application using Java in Android Studio [Android 6.0]. I want the user allow permissions and receive a notification on booting up the application but the current code I have is not ...
Shoba's user avatar
  • 1
0 votes
0 answers
37 views

How to get access to uri image in adapter?

Help me please. I have the error below when I try to use setImageUri in adapter after reopen application. java.lang.SecurityException: No persistable permission grants found for UID 10159 and Uri ...
Дмитрий Малигон's user avatar
0 votes
0 answers
36 views

Cannot get write settings permission on Android TV (API 23 and later)

For some of my app's functions the WRITE_SETTINGS permission is needed. It is requested and retrieved fine on all Android phones and tablets that I have tested on, but on Android TV it never shows any ...
Optimizer's user avatar
0 votes
1 answer
27 views

Request dangerous permission for wear os watchface

I'm trying to create a watch face using some data. However, I need access to ACCESS_FINE_LOCATION to get the user's location. From the sample provided here, the watch face is launched as a service and ...
user3826764's user avatar
0 votes
2 answers
190 views

How to take persistable uri permission with PickVisualMedia()

In my app I use images from phone galery. I recive uri and write it to database. When I want to use this uri I get error, for example: java.lang.SecurityException: Calling uid ( 10192 ) does not have ...
Сергей В's user avatar
1 vote
1 answer
29 views

Do I need read/write external to store photo in getExternalFilesDir(...)?

I am running into a problem when launching a camera intent when targeting Android 33 and running on Android 33. I am using a file provider to create and pass a file to the camera Manifest: <...
lostintranslation's user avatar
0 votes
1 answer
70 views

How to I request for Post Notification permission for Android 12L or lower?

We know in Android 13 and above, we can (and have to) ask for Post Notification permission as per https://stackoverflow.com/a/72981519/3286489 Also, we know that in Android 12L and earlier, the Post ...
Elye's user avatar
  • 54.2k
3 votes
0 answers
345 views

java.lang.SecurityException: Specified package "package name" under uid -1 but it is not in Android 13

I'm using Settings.ACTION_APPLICATION_DETAILS_SETTINGS in order to request when the user does not grant permission in purpose. Intent intent = new Intent(); intent.setAction(Settings....
CodingBruceLee's user avatar
0 votes
0 answers
36 views

RequestPermissions deprecated in Java

I have a function that I call in a fragment that opens an an AlertDialog and asks to take a picture or take a picture from the phone . Before calling the two individual functions presentFiles() or ...
Kevin's user avatar
  • 405
0 votes
0 answers
61 views

Expo-Notifications requestPermissionsAsync() is giving error

When i call requestPermissionsAsync i got this error: Possible Unhandled Promise Rejection (id: 0): Error: Encountered an exception while calling native method: Exception occurred while executing ...
Shahroz Atiq's user avatar
0 votes
0 answers
24 views

Access to storage AndroidManifest in Unity

I wrote a code in Unity and its job is to read the music folder in the main internal files of the Android phone, and now I want to get permission to access personal files in Unity for Android, but how?...
Xnight's user avatar
  • 1
0 votes
0 answers
41 views

java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=22, result=-1, data=Intent

Now the app is working. But it only asks for permission after the first time it starts (after installation). If I accept the permission, the application closes with an error (After opening the ...
Daniel Lucena's user avatar
0 votes
0 answers
13 views

Allow location android permission prompt not coming in ionic3 while using navigator.geolocation.getCurrentPosition()

I want the location prompt while opening the app having options to Allow location while using the app etc. Android permissions also applied in config.xml.I have applied the ACCESS_COARSE_LOCATION &...
Nitin Singh's user avatar
0 votes
1 answer
78 views

Errno 13 Permission denied: '/storage/emulated/0/Download/ kivy app on androd

I have error 13 Permission denied, when I try to read a picture from /storage/emulated/0/Download/ using the open function and the kivy. App works without error on motorola g32 with android 12 but ...
VitaliiShpinat's user avatar
0 votes
1 answer
82 views

Request permissions on Android Studio

I'm trying to obtain multiple permissions, but if they are declined once, it never asks again. without all the permisions the app won't work at all and you can't continue without accepting them all. I ...
Niv G.'s user avatar
  • 1
0 votes
0 answers
34 views

How is it possible to get approval from Google Play reviewers on the permissions restricted by the new personal loans policy of Google Play?

Our (non-bank) app relates to the personal loans industry and as a service provider, it is our duty to control users' financial transactions while ensuring the security of financial transactions ...
Peter's user avatar
  • 1
0 votes
1 answer
20 views

Is it possible to request runtime permission from a dialog

I just wanted to know if there is a way to request runtime permission from a dialog since the requestPermission() function is not available there. I already tried to use the context to call this ...
Aurel B's user avatar
0 votes
1 answer
66 views

Problem Requesting Notification Permissions in Compose

I am trying to request the Notification Permission in a Composable. I've been following online examples, and I can't get it to work. However, the same code, when requesting the Camera permission ...
Lawand11's user avatar
0 votes
0 answers
21 views

take user to a specific setting in app settings on android

On my android app I want the user to turn off auto-revoke-permissions setting. however I have noticed that IntentCompat.createManageUnusedAppRestrictionsIntent(activity, activity.packageName) only ...
quealegriamasalegre's user avatar

1
2 3 4 5
80