Answers for "how to send test carsh to firebase console"

4

how to send test carsh to firebase console

val crashButton = Button(this)
crashButton.text = "Test Crash"
crashButton.setOnClickListener {
   throw RuntimeException("Test Crash") // Force a crash
}

addContentView(crashButton, ViewGroup.LayoutParams(
       ViewGroup.LayoutParams.MATCH_PARENT,
       ViewGroup.LayoutParams.WRAP_CONTENT))
Posted by: Guest on October-25-2021

Code answers related to "how to send test carsh to firebase console"

Browse Popular Code Answers by Language