Events are not being sent to relay from the android sdk

I configured a relay server and using the sentry-cli can send events or messages that are shown in sentry, but when I use the android SDK to point to that DSN(the relay DSN), no message is sent.

Sentry for android version: io.sentry:sentry-android:5.0.1

I am using SentryAndroid.init to instantiate sentry. I don’t know if I am missing something like a configuration or there is a bug in the sdk.