mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-20 03:48:44 +08:00
fix tests
This commit is contained in:
@@ -321,7 +321,7 @@ RCT_EXPORT_METHOD(downloadUpdate:(NSDictionary*)updatePackage
|
||||
progressCallback:^(long expectedContentLength, long receivedContentLength) {
|
||||
// Notify the script-side about the progress
|
||||
[self.bridge.eventDispatcher
|
||||
sendAppEventWithName:@"CodePushDownloadProgress"
|
||||
sendDeviceEventWithName:@"CodePushDownloadProgress"
|
||||
body:@{
|
||||
@"totalBytes":[NSNumber numberWithLong:expectedContentLength],
|
||||
@"receivedBytes":[NSNumber numberWithLong:receivedContentLength]
|
||||
|
||||
Reference in New Issue
Block a user