Skip to content

Conversation

@angusholder
Copy link

@angusholder angusholder commented Jan 6, 2026

📜 Description

androidx.sqlite 2.5.0 added SQLiteDriver, a new alternative to SupportSQLiteOpenHelper. 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

💚 How did you test it?

  • Tested with unit tests generated by Claude. I instructed it to perform the same tests as in the existing SentrySupportSQLiteStatementTest, plus test SentrySQLiteDriver is setting databaseName correctly. I've reviewed all the tests it created and believe they're correct.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for androidx.sqlite's SQLiteDriver

1 participant