GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sentry-java/sentry-android-sqlite at main · tsushanth/sentry-java

Expand file tree

/

sentry-android-sqlite

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

sentry-android-sqlite

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
api
api
 
 
src
src
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
proguard-rules.pro
proguard-rules.pro
 
 

README.md

Outline

sentry-android-sqlite

SQLite instrumentation for AndroidX APIs.

Two instrumentation paths are supported:

  • androidx.sqlite.SQLiteDriver: Used by Room 2.7+ and 3.0+.
  • androidx.sqlite.db.SupportSQLiteOpenHelper: Used by SQLDelight and legacy (pre-2.7) Room. Applied automatically by the Sentry Android Gradle Plugin.

To avoid duplicate spans, only one path should be used per database file. Most Room and SQLDelight APIs enforce that division. The exception is Room's SupportSQLiteDriver: either the SupportSQLiteOpenHelper it consumes should be wrapped or the support driver itself, but never both.

Package layout

The module is organized as two separate packages:

  • io.sentry.android.sqlite: Android-specific code. Depends on android.database.* and/or on androidx.sqlite.db.*.
  • io.sentry.sqlite: No Android-specific code. Depends only on multiplatform androidx.sqlite.*.

The split anticipates future Kotlin Multiplatform support. The androidx.sqlite.* interfaces are defined in KMP's commonMain source set and are used by Room in non-JVM environments. Classes in io.sentry.sqlite are written against those portable interfaces and are intended to lift cleanly into a KMP commonMain source set if/when the sentry core gains multiplatform targets.

Note that the module artifact itself (sentry-android-sqlite) is currently an Android-only AAR regardless of package layout.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.