segmentio / analytics_flutter

The hassle-free way to add Segment analytics to your Flutter app.
MIT License
26 stars 33 forks source link

How to Prevent Saving Files in Documents Directory with segment_analytics #68

Closed suysoftware closed 2 weeks ago

suysoftware commented 3 months ago

Hi, I am currently developing a Flutter desktop application and utilizing your segment_analytics package. I have noticed that the package is automatically saving files in the documents directory (please see attached screenshot for reference).

For my application's use case, I would prefer not to have these files saved in the user's documents directory. Could you please guide me on how I can disable this behavior? Is there a configuration option or a method within the package that allows me to block the saving of these files?

Screenshot 2024-03-31 at 00 07 17

edsonjab commented 2 months ago

Hi @suysoftware, here is the explanation about the reason for those files.

suysoftware commented 2 months ago

@edsonjab But you should add option for choose direction or disable. Because I got a lot of report about these files in my app. These files syncing with iCloud all times. You should choose . (hidden folder) for these. Because hidden files is not syncing with iCloud

edsonjab commented 2 months ago

hi @suysoftware we start looking into your this.