Explorar el Código

preset totalProgress to avoid error on android

Ifedapo Olarewaju hace 6 años
padre
commit
9f02d749b9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      examples/react-native-expo/App.js

+ 2 - 1
examples/react-native-expo/App.js

@@ -53,7 +53,8 @@ export default class App extends React.Component {
       isPaused: false,
       uploadStarted: false,
       uploadComplete: false,
-      info: null
+      info: null,
+      totalProgress: 0
     }
 
     this.isReactNative = (typeof navigator !== 'undefined' &&