I have a problem on some Android 6.0 devices. My Unity application about 200 MB and thats why I have .obb file. After installing the game to Google Play, Samsung Android 6.0 devices gives error about accessing the assets.
If i allow the storage permission manually from Settings -> App Management -> Permissions, the problem disappears. This is happening only some Android 6.0 devices. I have READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permission in AndroidManifest.xml
Can you help me about this please?
Now is different in android marsmallow. More info here
Now with android 6.0 you must ask for permissions when you go to use this permission, so you need declare in android manifest, and also you must request the permissions you need in the class.
Related
I'm trying to access the "/storage/emulated/0/Download" directory in Android. I'm using the permission_handler package to request this permission. I added READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE in AndroidManifest.xml.
The issue is that I am able to access the same path in Android 11 and earlier versions but not in Android 12. When I tried using MANAGE_EXTERNAL_DIRECTORIES in Android 12, it worked fine, but I don't want to use this permission as it is sensitive and the play store may reject this if we use this permission. I'm wondering why the same flow works fine in Android 11 but not in Android 12. Thanks in advance.
recently I get Installed blocked : The app permissions error error when updating my application(in app updating).
I know my app signatures are same because I can install new app manually.
can some know why this happen?
Do you think I need to grant android.permission.INSTALL_PACKAGES while I granted android.permission.REQUEST_INSTALL_PACKAGES? if yes can explain deference of both?
Note: my application updated correctly in many devices!! but in some devices(android Version: 5.1.1) have problem!!!
The INSTALL_PACKAGES permission allows an application to install packages. It is not for use by third-party applications.
Developers of apps that require the ability to download and install other apps via the Package Installer may need to make some changes. If an app uses a targetSdkLevel of 26 or above and prompts the user to install other apps, the manifest file needs to include the REQUEST_INSTALL_PACKAGES permission.
Read more here: https://android-developers.googleblog.com/2017/08/making-it-safer-to-get-apps-on-android-o.html?m=1
Exists any way to allow apps to get android.permission.MODIFY_PHONE_STATE in Android 6? Even with root?
In versions prior to Android 6 this permission can be obtained copying APK to /system, but I have run this in Android 6 and the permission wasn't obtained.
Also, the permission can't be manually granted to the app due to isn't at the listed permissions for the app (in apps -> all -> APP -> permissions)
Thanks
I'm Jaemoon.
My system app located in /system/app was running well until Android 4.3 Jelly Bean
but it started having some problems which was security problem in Android 4.4 KitKat.
In other words,
My system app needed permissions such as android.permission.WRITE_APN_SETTINGS and android.permission.CONNECTIVITY_INTERNAL and did well until Jelly Bean
but from KitKat, there were security problems as follows.
I don't understand the reason why my system app doing well in Jelly Bean started to have security problems from KitKat.
I am doubting that KitKat needs new setting in some script files for system permission.
Could anyone help me or guide me ?
---------------------------------------------------------------------
java.lang.SecurityException: No permission to write APN settings: Neither user 10146 nor current process has android.permission.WRITE_APN_SETTINGS.
...
---------------------------------------------------------------------
java.lang.SecurityException: ConnectivityService: Neither user 10097 nor current process has android.permission.CONNECTIVITY_INTERNAL.
---------------------------------------------------------------------
Thanks in advance..
In Android 4.4 just apps located at /system/priv-app have the "system" level permission.
Google did this so that manufacturers like Samsung can have better control of the permissions the bundled apps have.
So administrative apps goes to /system/priv-app. Games, freemium apps and other garbages goes to /system/app
Thanks!
In 4.4, use /system/priv-app instead.
It will go to priv-app folder now. Before kitkat, all apps in system partition had "system"-level permissions. Now only apps in priv-app can get system permissions.
Installing a simple HelloWorld asks for permission to write to external storage, why? I have not added any request in my manifest? Looking in the logs I see "I/PackageParser(15463): Implicit adding android.permission.WRITE_EXTERNAL_STORAGE to old pkg". I am compiling for Android 1.6 and installing on an Sony Ericsson X10. How do I avoid the request since my HelloWorld does not need any of those permissions and any user might be scared away due to shady permissions?
Installing a simple HelloWorld asks for permission to write to external storage, why?
Because either you do not have a <uses-sdk> element in your manifest or its android:minSdkVersion is set to 3 or lower. See this previous SO question for more.