dd-sdk-reactnative
dd-sdk-reactnative copied to clipboard
[RUM-4019] Android: improved bundle task args resolving
What does this PR do?
Improves how JS Bundle Task path arguments are resolved, as in some cases reactConfig.bundleAssetName
and reactConfig.bundleFileResolver()
might not be accurate.
Additional Notes
It is also possible to override the paths with the following env variables:
-
DATADOG_BUNDLE_OUTPUT
-
DATADOG_SOURCEMAP_OUTPUT
Review checklist (to be filled by reviewers)
- [ ] Feature or bugfix MUST have appropriate tests
- [ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
- [ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
- [ ] If this PR is auto-generated, please make sure also to manually update the code related to the change