zubairehman / Flogs

An Advanced Logging Framework develop in flutter that provides quick & simple logging solution.
MIT License
199 stars 90 forks source link

iOS Permissions #32

Open Henery309 opened 4 years ago

Henery309 commented 4 years ago

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.

jlund24 commented 4 years ago

Same issue here

zubairehman commented 4 years ago

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

nkropanev commented 3 years ago

@zubairehman Any update on this?

boredcity commented 3 years ago

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?

git-n-pissed commented 1 year ago

@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.

jdeepwell commented 1 year ago

@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!