Support for androidx.sqlite's SQLiteDriver#5002
Conversation
|
Hey @angusholder — thanks so much for raising this and putting in the initial work (and sorry again we didn'thave the bandwidth until recently to get to it). Fyi, we ended up building an integration internally so we could align it with our span attribution patterns (#5466), but your PR was a huge help and we lifted lots from it directly. I've added you as co-author on the so the credit will be there in git history. Thanks a bunch for the contribution 🙌 |
No worries, I didn't spend too long on this PR, glad to hear support is coming soon! |
📜 Description
androidx.sqlite 2.5.0 added
SQLiteDriver, a new alternative toSupportSQLiteOpenHelper. The new SQLiteDriver API benefits from being Kotlin multi-platform, having a much simpler API, and supporting a bundle of the latest SQLite into your app (rather than getting whatever the Android framework has at runtime).💡 Motivation and Context
Change is required so that users of the new androidx.sqlite driver API can get SQL breadcrumbs in Sentry
SQLiteDriver#5001💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps