Flogs icon indicating copy to clipboard operation
Flogs copied to clipboard

iOS Permissions

Open Henery309 opened this issue 4 years ago • 6 comments

Hi Thanks for this great library, it;s looking good I am thinking about using it.

I have a question regarding iOS permissions. When do we need to ask for the permission to photo gallery? Is it just for the export file feature? The App I am currently working on does not access photo gallery.

If I ask for the following permissions they will be rejected by the user. Does this mean flogs won't work?

NSPhotoLibraryAddUsageDescription FLogs would like to save photos from the app to your gallery NSPhotoLibraryUsageDescription FLogs would like to access your photo gallery for uploading images to the app

Isn't there any alternative ways to save the logs? For example, can the logs be saved to applications instillation directory without asking for permissions and then access them from there?

My primary goal is to A: Generate logs, B: when user opens the app again send errors to API.

Henery309 avatar Jul 07 '20 12:07 Henery309

Same issue here

jlund24 avatar Jul 15 '20 18:07 jlund24

Will see if I can either remove or provide an alternative to this. Will update soon

zubairehman avatar Jul 19 '20 04:07 zubairehman

@zubairehman Any update on this?

nkropanev avatar Nov 27 '20 10:11 nkropanev

was this fixed? the app never prompts me to give these permissions on iOS, even though I do export files. or does it depend on iOS version?

boredcity avatar Aug 23 '21 14:08 boredcity

@zubairehman, Same issue. I'm not real familiar with the Apple ecosystem, so I'm curious, why does a logging package needs permission to access photos in the first place? This is really a roadblock to using this package with any Flutter app that is intended to target iOS.

git-n-pissed avatar Mar 01 '23 20:03 git-n-pissed

@zubairehman , plus one on this. This package looks great and your efforts are much appreciated! But I found no explanation on why a logging package would need access to the photos library and this is worrisome. Could you please add some clarification on why/how f_logs needs these permissions? (maybe directly to the package's description on pub.dev). Many thanks!

jdeepwell avatar Jul 11 '23 12:07 jdeepwell