tidy icon indicating copy to clipboard operation
tidy copied to clipboard

Still permission issue unsolved Android 11

Open Benko111 opened this issue 1 year ago • 11 comments

I still get this ghastly "the app requires storage permissions" error trying to access the app. Even though I actually did manually grant storage permissions since I knew it was an issue. No matter what I tried, revoking and granting again trying F-Droid version and GitHub version before I realised they're both identical files and so I still didn't have a chance to try this potentially dead useful app. Android 11 running Lineage not rooted, with Google framework. Galaxy S10.

If I can be of any help reproducing and fixing the issue just contact me.

Benko111 avatar Jul 07 '24 09:07 Benko111

This fork works: https://github.com/sowa705/AIGallery

rohanssrao avatar Jul 13 '24 18:07 rohanssrao

Coolio, thanks mate.

Benko111 avatar Jul 13 '24 19:07 Benko111

This fork works: https://github.com/sowa705/AIGallery

This fork doesn't have any apk

rsaurav12 avatar Oct 02 '24 21:10 rsaurav12

Same, android 11 on samsung

harcesz avatar Oct 06 '24 13:10 harcesz

Have you guys check the version 1.0? It works on my phone.

Svaerd avatar Jan 28 '25 23:01 Svaerd

1.1 in my case

harcesz avatar Feb 03 '25 22:02 harcesz

This fork works: https://github.com/sowa705/AIGallery

This fork doesn't have any apk

seems to be available on f-droid as "gallery", but I'm sure only because the donation account matches.

harcesz avatar Feb 03 '25 22:02 harcesz

Same issue with app version 1.1 running on my S10+ running Android 12, API Level 31, date:11/02/2025 Tried installing from the apk and F-Droid, both won't work. The exact same apk works on my S7 running Android 9.

Clearing cache, data, manually granting permissions and multiple reinstalls with phone restarts all fail. It gives the "The app requires storage permissions!" toast but there is no prompt bubble showing options to allow or not allow.

3 possible way to replicate:

  1. Most likely, I think I accidently clicked "Do not allow" the very first time and that might have fucked it up, but fresh reinstalls should fix no?
  2. I had updated from Android 11 to 12 after the app had been run once.
  3. Combination of both?

Before posting this comment I tried version 1.0 and it works perfectly fine!!! It asks for permissions properly when launching the app. Quick source code comparison: Base:1.0 Compare with 1.1

Image

perfect1077 avatar Feb 11 '25 15:02 perfect1077

Came to say the same, version 1.1 on Android 11. Got a fresh install from the GitHub release page, and it doesn't show me a permissions toast either, just that alert.

I couldn't seem to give it external storage perms on my device; the best I could give it was media perms. Same thing going on.

quackbarc avatar Feb 19 '25 15:02 quackbarc

There is no difference between the versions if you can get it to run, so I would just use version 1.0 for now.

Is this the issue? - https://developer.android.com/training/data-storage/shared/media#media-location-permission

perfect1077 avatar Feb 19 '25 16:02 perfect1077

@perfect1077 was on the right track just removing the = sign in the line 44 ( in IndexFragment.kt of the updated code ) fixes the issue as android 11 still sometimes uses the old permission request type, from what I understand. It worked for me.

HVB007og avatar Jul 27 '25 16:07 HVB007og