Minimal repro app demonstrating that ParameterStoreEvaluationOptions(disableExposureLog = true) still fires exposure events under certain conditions.
- Replace
sdkKeyinapp/src/main/java/com/example/exposeissue/ExposeIssueApp.ktwith a valid client SDK key for the project. - The bundled config in
app/src/main/res/raw/statsig_client_config_bundle.jsonmust match the SDK key's project.
./gradlew :app:assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apk- Uninstall the app (
adb uninstall com.example.exposeissue) - Install and launch
- Observe network traffic or Statsig console — exposure events are logged despite
disableExposureLog = true
Statsig.initializeAsyncwithinitializeOffline = trueand anOnDeviceEvalAdapter(bundled config)- On init callback: reads parameters from a ParameterStore with
disableExposureLog = true - Calls
Statsig.updateUser - Reads parameters again with
disableExposureLog = true
No exposure events are logged (only diagnostics).
Exposure events are logged on first fresh install.