mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-18 19:59:47 +07:00
Add crash reporting controller and email sending on android (#1509)
This commit is contained in:

committed by
Yair Morgenstern

parent
74dab9da63
commit
25a3467cb3
@ -8,9 +8,8 @@ import com.unciv.UncivGame
|
||||
class AndroidLauncher : AndroidApplication() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
val config = AndroidApplicationConfiguration()
|
||||
val version = BuildConfig.VERSION_NAME
|
||||
config.useImmersiveMode = true
|
||||
initialize(UncivGame(version), config)
|
||||
val config = AndroidApplicationConfiguration().apply { useImmersiveMode = true }
|
||||
val game = UncivGame(BuildConfig.VERSION_NAME, UncivCrashReportSender(this))
|
||||
initialize(game, config)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user