Using sentry-cordova on ionic its not sending data on device

Hi guys. I’m using sentry-cordova in order of send the data of the errorhandler of my app. When i run ionic serve its sending correctly the data and i can see it in sentry dashboard. The problem is that when i run on device i can see the request on Network but is not sending anything to sentry dashboard and the request return error.