warwound Expert Licensed User Longtime User Aug 15, 2025 #1 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. Click to expand... Code: Copy 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'?
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. Click to expand... Code: Copy 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 Aug 15, 2025 #2 warwound said: Does a b4a application contain a configuration file Click to expand... Not that i know of. warwound said: where I can add the 'Sentry Android Gradle plugin'? Click to expand... B4A does not use Gradle at all. Additionally afaik B4A is not using com.android.application Upvote 0
warwound said: Does a b4a application contain a configuration file Click to expand... Not that i know of. warwound said: where I can add the 'Sentry Android Gradle plugin'? Click to expand... B4A does not use Gradle at all. Additionally afaik B4A is not using com.android.application
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2025 #3 That's correct. You will need to manually apply whatever this plugin does. In most cases it isn't too complicated. It probably injects something in the manifest file. Upvote 0
That's correct. You will need to manually apply whatever this plugin does. In most cases it isn't too complicated. It probably injects something in the manifest file.
warwound Expert Licensed User Longtime User Aug 18, 2025 #4 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 Click to expand... I'll now look into each of these steps to see if I can manually makes the patches required. Upvote 0
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 Click to expand... I'll now look into each of these steps to see if I can manually makes the patches required.