You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
For our app, SharedPreferences is a heavy dependency. It would be nice to make this an optional dependency so we can use whatever store we're already interested in. For example, we are using IndexedDB on our web platform and get_storage on mobile for improved performance.
Maybe you can pass in the following callbacks and in the README provide for a few lines to integrate with SharedPreferences? You can default to doing this in-memory so others can customize how they want to handle the persistence.
@robertohuertasm we have a pending PR for mixpanel using this library. Is this change a you and your team agree with?
If so, would you be open to me issuing a PR?
The main downside is that the default behavior would no longer be persisting sentry requests between app runs. These would get cached in memory. To get this, someone would need to paste some code from the README into their app to get persistence.
Hi @venkatd, sorry for not coming back to you sooner. The thing is that I don't think this change is going to be easy from our side... which translates in this not being a quick change for us to implement. Let me see if I can find some time next week to handle this.
For our app, SharedPreferences is a heavy dependency. It would be nice to make this an optional dependency so we can use whatever store we're already interested in. For example, we are using IndexedDB on our web platform and get_storage on mobile for improved performance.
Maybe you can pass in the following callbacks and in the README provide for a few lines to integrate with SharedPreferences? You can default to doing this in-memory so others can customize how they want to handle the persistence.
The text was updated successfully, but these errors were encountered: