From 854654b135eece671288fadf52c08e97ff220c59 Mon Sep 17 00:00:00 2001 From: Ifedapo Olarewaju Date: Thu, 2 May 2019 17:54:33 +0100 Subject: [PATCH] react-native-example: fix chunked reading cc @kvz @arturi --- examples/react-native-expo/tusFileReader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react-native-expo/tusFileReader.js b/examples/react-native-expo/tusFileReader.js index be3a2d00d1..3b36b1c435 100644 --- a/examples/react-native-expo/tusFileReader.js +++ b/examples/react-native-expo/tusFileReader.js @@ -18,7 +18,7 @@ class TusFileReader { const options = { encoding: Expo.FileSystem.EncodingTypes.Base64, length: end - start, - postion: start + position: start } Expo.FileSystem.readAsStringAsync(this.file.uri, options).then((data) => { cb(null, base64.toByteArray(data))