diff --git a/exampleapp/src/main/java/org/matomo/demo/DemoApp.kt b/exampleapp/src/main/java/org/matomo/demo/DemoApp.kt index 2418e3c3..a69d589c 100644 --- a/exampleapp/src/main/java/org/matomo/demo/DemoApp.kt +++ b/exampleapp/src/main/java/org/matomo/demo/DemoApp.kt @@ -25,6 +25,15 @@ class DemoApp : MatomoApplication() { override fun onCreate() { super.onCreate() + StrictMode.setThreadPolicy( + ThreadPolicy.Builder() + .detectDiskReads() + .detectDiskWrites() + .detectNetwork() + .penaltyDialog() + .penaltyLog() + .build() + ) onInitTracker() }