sentry-dart icon indicating copy to clipboard operation
sentry-dart copied to clipboard

Sentry native database path setting

Open vaind opened this issue 11 months ago • 1 comments

Description

Sentry-native on desktop stores session & errors on disk. Currently, it uses the default path which is the current directory. We should expose a setting as well as move this to a better location, maybe user & app specific AppData path. Maybe we can have a look at how sentry-unity handles this.

See https://github.com/getsentry/sentry-native#runtime-configuration

vaind avatar Jan 20 '25 11:01 vaind

We have the same issue too

OtakuRoom avatar Mar 27 '25 18:03 OtakuRoom

Hey Team, any updates on this 👀 ?

Angelodaniel avatar Aug 07 '25 10:08 Angelodaniel

Hey Team, any updates on this 👀 ?

none from me

vaind avatar Aug 07 '25 11:08 vaind

Will be looking into this soon

buenaflor avatar Aug 27 '25 10:08 buenaflor

This is now released starting from version 9.7.0-beta.4 configurable via the nativeDatabasePath option. Note: this only exposes a configurable option, the default behaviour remains.

buenaflor avatar Sep 10 '25 15:09 buenaflor