add "jsBundlesDirectory" method to RCTBridgeDelegate

Differential Revision: D6030185

fbshipit-source-id: 58d6f9d0d412c7ad0f83af9ae4df01c4dc1178bc
This commit is contained in:
Alex Dvornikov
2017-10-12 12:30:24 -07:00
committed by Facebook Github Bot
parent 4192790f05
commit dd400f842b
4 changed files with 16 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ namespace react {
class RN_EXPORT JSIndexedRAMBundleRegistry: public RAMBundleRegistry {
public:
JSIndexedRAMBundleRegistry(std::unique_ptr<JSModulesUnbundle> mainBundle, const std::string& entryFile);
JSIndexedRAMBundleRegistry(std::unique_ptr<JSModulesUnbundle> mainBundle, const std::string& baseDirectoryPath);
protected:
virtual std::unique_ptr<JSModulesUnbundle> bundleById(uint32_t index) const override;