Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

665 B
Raw Blame
plugins {
  id 'com.android.library'
  id 'expo-module-gradle-plugin'
}

group = 'com.posthog.code.mobile'
version = '1.0.0'

android {
  namespace "com.posthog.code.mobile.chart"
  defaultConfig {
    versionCode 1
    versionName '1.0.0'
  }
  testOptions {
    unitTests.includeAndroidResources = true
  }
}

dependencies {
  // The widget fetches PostHog on a timer off the main thread; the session copy lives in encrypted preferences.
  implementation 'androidx.work:work-runtime-ktx:2.9.1'
  implementation 'androidx.security:security-crypto:1.1.0-alpha06'
  testImplementation 'junit:junit:4.13.2'
  testImplementation 'org.robolectric:robolectric:4.16.1'
}