Skip to content

goldstei/ExposeIssue

Repository files navigation

ExposeIssue

Minimal repro app demonstrating that ParameterStoreEvaluationOptions(disableExposureLog = true) still fires exposure events under certain conditions.

Setup

  1. Replace sdkKey in app/src/main/java/com/example/exposeissue/ExposeIssueApp.kt with a valid client SDK key for the project.
  2. The bundled config in app/src/main/res/raw/statsig_client_config_bundle.json must match the SDK key's project.

Build & Run

./gradlew :app:assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apk

Repro Steps

  1. Uninstall the app (adb uninstall com.example.exposeissue)
  2. Install and launch
  3. Observe network traffic or Statsig console — exposure events are logged despite disableExposureLog = true

What the app does

  1. Statsig.initializeAsync with initializeOffline = true and an OnDeviceEvalAdapter (bundled config)
  2. On init callback: reads parameters from a ParameterStore with disableExposureLog = true
  3. Calls Statsig.updateUser
  4. Reads parameters again with disableExposureLog = true

Expected

No exposure events are logged (only diagnostics).

Actual

Exposure events are logged on first fresh install.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages