Android Question Please help me, How to resolve warning from Google Play

NGUYEN TUAN ANH

Active Member
Licensed User
Starting May 5, you must tell us why your app requests access to external storage
We have found that your application contains flags requestLegacyExternalStoragein the manifest file of 1 or more application packages or APKs.
Developers with apps on devices running Android 11 or higher must use Limited Storage for users to have greater control over their device's storage. To release your app on Android 11 or later after May 5, you must do one of the following:
  • Update the app to use best practices that help enhance privacy, such as the Memory Access Framework or the Media Store API
  • Update the app to declare Access to every file ( MANAGE_EXTERNAL_STORAGE) in manifest and complete the Claim access to every file form in Play Console since May 5
  • Completely remove Access to any files from the app
For apps running on Android 11, the flag requestLegacyExternalStorageis ignored. Access to all files must be used to maintain access to external storage.
Apps that require Access to any files without the authorized use will be removed from Google Play and updates will not be available to you.
 

JohnC

Expert
Licensed User
Longtime User
Well, why does your app need access to external storage - what does your app do?

We need this info so we can help you come up with a reason to reply back to google with.
 
Last edited:
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
Ứng dụng nhỏ của tôi chứa android: targetSdkVersion = "29" và requestLegacyExternalStoragein trong tệp kê khai, để đọc và ghi vào thư mục gốc
rp.CheckandRequest (rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
DataFile1.Initialize (File.OpenOutput (File.DirInternal, FileName1, False))
DataFile2.Initialize (File.OpenInput (File.DirRootExternal & "/ Test /", Filename2))
Only Text file
Khi tôi phát hành ứng dụng của mình lên Google Play, tôi đã nhận được cảnh báo này từ Google
 
Last edited:
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Reading and writing to the root directory is very dangerous to google.

So, why does your app need to read/write to root directory?

What exactly does your app do?

Please provide detailed answers.
 
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
Reading and writing to the root directory is very dangerous to google.

So, why does your app need to read/write to root directory?

What exactly does your app do?

Please provide detailed answers.
DataFile1.Initialize (File.OpenOutput (File.DirInternal, FileName1, False))
DataFile2.Initialize (File.OpenInput (File.DirRootExternal & "/ Test /", Filename2))
Only Text file
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Google does not like apps that can access the entire storage memory because it is a security risk.

So, you need to provide google with a very good reason why your app needs to access all of the storage memory, otherwise they will deny your app in the play store.

But, you have not told us what your app does and why it needs to create one of those text files in external memory.

Without knowing exactly what your app does and why does it need to write to external memory, we can not provide appropriate suggestions to help you.
 
Last edited:
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
Google does not like apps that can access the entire storage memory because it is a security risk.

So, you need to provide google with a very good reason why your app needs to access all of the storage memory, otherwise they will deny your app in the play store.

But, you have not told us what your app does and why it needs to create one of those text files in external memory.

Without knowing exactly what your app does and why does it need to write to external memory, we can not help you.
I think this is Google Play warning, maybe in May 5 Google will support me
Thank you very much
 
Upvote 0
Top