mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
add "jsBundlesDirectory" method to RCTBridgeDelegate
Differential Revision: D6030185 fbshipit-source-id: 58d6f9d0d412c7ad0f83af9ae4df01c4dc1178bc
This commit is contained in:
committed by
Facebook Github Bot
parent
4192790f05
commit
dd400f842b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user