Skip to content

Commit

Permalink
track where the app was installed from for Crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed May 14, 2024
1 parent 002d4b6 commit 3fb3d9d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ open class GodToolsApplication : Application(), Configuration.Provider {
private fun initializeCrashlytics() {
FirebaseCrashlytics.getInstance().apply {
setCustomKey("InstantApp", InstantApps.isInstantApp(this@GodToolsApplication))
setCustomKey("InstallerPackage", packageManager.getInstallerPackageName(packageName).orEmpty())
setCustomKey("SystemLanguageRaw", Locale.getDefault().toString())
setCustomKey("SystemLanguage", Locale.getDefault().toLanguageTag())
}
Expand Down

0 comments on commit 3fb3d9d

Please sign in to comment.