Is it possible to send errors/crash reports automatically on android in every activity Or is it completely manual and should i use the manifest configuration or sentry.properties, Sorry i am new to Sentry, i have used manual error capturing but is automatic possible
Existing code for manual error handling
AndroidManifest.xml configuration
<meta-data android:name="io.sentry.dsn" android:value="dsn" />
MainActivity.kt
Sentry.init("dsn", AndroidSentryClientFactory(this.applicationContext))
try {
Log.d("sentrytest1","try")
throw Exception("This is a test.")
} catch (e: Exception) {
Log.d("sentrytest1","catch")
Sentry.capture(e)
}