Closed sidferreira closed 3 years ago
Hi @sidferreira
Yes, the source maps will be applied correctly regardless of what you set the releaseStage to.
You can have many release stages for different development, test, staging and production environments but for each of those you'd deploy a React Native build which is either a development or release build i.e. the source maps only differ between development and release builds, not between different release stages.
When uploading your source maps you should specify --dev
for development/debug builds only, not for release builds/variants:
https://docs.bugsnag.com/build-integrations/js/source-maps-react-native/#examples
We often use
staging
for some builds, but our builds go asiOS, Release
... will it work if the stage isstaging
?https://github.com/bugsnag/bugsnag-source-maps/blob/6d8338e17b07c7e4a57c15601302ef65f701ef55/src/uploaders/ReactNativeUploader.ts#L176