[sentry-expo] Sourcemaps not uploading for Android

Hi

I recently ejected from managed workflow to bare workflow. I had already implemented Sentry in the managed workflow, and after ejecting i followed the steps in Using Sentry - Expo Documentation.

I use EAS to build Android & iOS apps. I noticed that for iOS, sourcemaps are uploaded fine and used correctly by sentry. However for Android I can see on Sentry dashboard that no artifacts are uploaded. Even when I check the gradle logs on EAS build dashboard, I dont see any logs indicating that Sentry is trying to upload sourcemaps.

build.gradle:

....
project.ext.react = [
    enableHermes: false
]

apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/@sentry/react-native/sentry.gradle"

.....

dependencies {
    ...

    addUnimodulesDependencies()

    ....
}

sentry.properties:

defaults.url=https://sentry.io/
defaults.org=xxxxxxx
defaults.project=xxxxxx
auth.token=xxxxx

EAS build gradle command:
:app:assembleRelease

Any idea how to trigger Sentry to upload sourcemaps?