Zet - How do I add sentry to an android cordova project?
How do I add sentry to an android cordova project?
Instructions in https://docs.sentry.io/platforms/android/
You need to run a brew script in your generated platforms/android directory.
brew install getsentry/tools/sentry-wizard && sentry-wizard -i android
The brew script will get you to auth with sentry and select a project to use.
You may find that there is a gradle error as the plugin block generated by the brew script inside build.gradle is inserted before the buildscript block. This can be fixed by moving the buildscript block before everything else in build.gradle
#android #sentry