We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c7c126 + c8a849e commit 1e75eadCopy full SHA for 1e75ead
core/native-bridge.ts
@@ -755,8 +755,8 @@ const initBridge = (w: any): void => {
755
this.dispatchEvent(
756
new ProgressEvent('progress', {
757
lengthComputable: true,
758
- loaded: nativeResponse.data.length,
759
- total: nativeResponse.data.length,
+ loaded: nativeResponse.data == null ? 0 : nativeResponse.data.length,
+ total: nativeResponse.data == null ? 0 : nativeResponse.data.length,
760
}),
761
);
762
}
0 commit comments