We are trying to integrate our Expo app with Bugsnag (which provides Sentry-like crash/error processing). All seems well except for being to apply source maps properly in order to provide usable stack traces. For whatever reasons Bugsnag requires that the file names associated with minified files have an extensions of ‘.js,’ ‘.bundle’ or ‘.jsbundle’.
For versions of my app built for IOS, all seems fine and I see file names like:
but for Android I see:
which, you can see does not end in a file extension of ‘.js,’ ‘.bundle’ or ‘.jsbundle’.
I don’t really understand what is going on here, but is there anyway that I can cause the minified file to have an appropriate extension?
In case it matters, the project has been ejected to ExpoKit.
Thanks in advance.
P.S. I see a mention of a more “normal” bundle URL in the generated AppConstant.java file for our app but for some reason it isn’t getting communicated in the same way as it is for iOS.
Here are the contents of the generated AppConstant.java file, in case that helps. Some of the contents have been lightly obscured with asterisks: