Disable Plausible for debug builds
This commit is contained in:
parent
5fe4942d84
commit
c54f6c00ac
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ class MarkdownApplication : Application() {
|
||||||
}
|
}
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
ReviewHelper.init(this)
|
ReviewHelper.init(this)
|
||||||
|
Plausible.enable(!BuildConfig.DEBUG)
|
||||||
Plausible.event(
|
Plausible.event(
|
||||||
"build",
|
"build",
|
||||||
url = "/",
|
url = "/",
|
||||||
|
|
|
@ -86,6 +86,7 @@
|
||||||
<item>@string/pref_key_dark_mode_dark</item>
|
<item>@string/pref_key_dark_mode_dark</item>
|
||||||
<item>@string/pref_key_dark_mode_auto</item>
|
<item>@string/pref_key_dark_mode_auto</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
<string name="plausible_enable_startup">false</string>
|
||||||
<string name="plausible_host">https://plausible.wbrawner.com</string>
|
<string name="plausible_host">https://plausible.wbrawner.com</string>
|
||||||
<string name="plausible_domain">simplemarkdown.android.wbrawner.com</string>
|
<string name="plausible_domain">simplemarkdown.android.wbrawner.com</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue