Proposal
React Native Test App currently only recognises two bundle roots, index and main (see How the Test App Finds the JS Bundle). There should be a way to change the bundle root.
Alternatives
n/a
Implementation Details
A new, optional property in the manifest:
{
"bundleRoot": "myRoot"
}
When it is unset, the test app should use index and main as before. This behaviour is for convenience, and ensures backwards compatibility.
When it is set, the test app will use the value instead. For instance, if it is set to myRoot, the test app will look for the following files:
myRoot.[platform].jsbundle
myRoot.[platform].bundle
myRoot.native.jsbundle
myRoot.native.bundle
myRoot.jsbundle
myRoot.bundle
Additional Context
No response
Code of Conduct
Proposal
React Native Test App currently only recognises two bundle roots,
indexandmain(see How the Test App Finds the JS Bundle). There should be a way to change the bundle root.Alternatives
n/a
Implementation Details
A new, optional property in the manifest:
{ "bundleRoot": "myRoot" }When it is unset, the test app should use
indexandmainas before. This behaviour is for convenience, and ensures backwards compatibility.When it is set, the test app will use the value instead. For instance, if it is set to
myRoot, the test app will look for the following files:myRoot.[platform].jsbundlemyRoot.[platform].bundlemyRoot.native.jsbundlemyRoot.native.bundlemyRoot.jsbundlemyRoot.bundleAdditional Context
No response
Code of Conduct