mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-22 11:16:06 +08:00
Show packager progress in UI
Reviewed By: javache Differential Revision: D3941904 fbshipit-source-id: 4ea3b61e9d636eeaddbadbe4ba6c62069955f022
This commit is contained in:
committed by
Facebook Github Bot
parent
ef91708fdb
commit
5f548e15f9
@@ -73,9 +73,11 @@
|
||||
}
|
||||
|
||||
- (void)loadSourceForBridge:(RCTBridge *)bridge
|
||||
withBlock:(RCTSourceLoadBlock)loadCallback
|
||||
onProgress:(RCTSourceLoadProgressBlock)onProgress
|
||||
onComplete:(RCTSourceLoadBlock)loadCallback
|
||||
{
|
||||
[RCTJavaScriptLoader loadBundleAtURL:[self sourceURLForBridge:bridge]
|
||||
onProgress:onProgress
|
||||
onComplete:loadCallback];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user