Android Question sentry.io support?

warwound

Expert
Licensed User
Longtime User
I have been asked to look at adding Sentry Application Monitoring to a b4a app.
The Sentry SDK says that the first step is to:
Update your app's build.gradle file with the Sentry Gradle plugin and configure it.
B4X:
plugins {
  id "com.android.application" // should be in the same module
  id "io.sentry.android.gradle" version "5.9.0"
}
Obviously this is for a native android application and not a b4a application.
Does a b4a application contain a configuration file where I can add the 'Sentry Android Gradle plugin'?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

warwound

Expert
Licensed User
Longtime User
Thanks for the replies.
After a little research I found some documentation which states:
The Sentry wizard will automatically patch your application:
  • Update your app's build.gradle file with the Sentry Gradle plugin and configure it.
  • Update your AndroidManifest.xml with the default Sentry configuration
  • Create sentry.properties with an auth token to upload proguard mappings
  • Add an example error to your app's Main Activity to verify your Sentry setup
I'll now look into each of these steps to see if I can manually makes the patches required.
 
Upvote 0
Top