The new @bugsnag/react-native removed the option to set releaseStage and appVersion from JS. While I understand this makes more sense to be set on the native side, this was a great feature from the JS side.
For example, our app has multiple dev environments with the exact same native code but just a different configuration/endpoints, so it doesn't make sense to setup different native build processes just to set this new environment there.
Describe the solution you'd like
Allow releaseStage and appVersion from JS.
Describe alternatives you've considered
On android, we need multiple build flavors and manifest files for each one just to set the release stage/app version variables. This is not ideal and adds a lot of work even for building.
Additional context
Migrating from the previous version.
Description
The new
@bugsnag/react-native
removed the option to setreleaseStage
andappVersion
from JS. While I understand this makes more sense to be set on the native side, this was a great feature from the JS side.For example, our app has multiple dev environments with the exact same native code but just a different configuration/endpoints, so it doesn't make sense to setup different native build processes just to set this new environment there.
Describe the solution you'd like
Allow
releaseStage
andappVersion
from JS.Describe alternatives you've considered
On android, we need multiple build flavors and manifest files for each one just to set the release stage/app version variables. This is not ideal and adds a lot of work even for building.
Additional context Migrating from the previous version.