Skip to content

Commit

Permalink
react-native-example: fix chunked reading
Browse files Browse the repository at this point in the history
  • Loading branch information
ifedapoolarewaju committed May 2, 2019
1 parent b9a0914 commit 854654b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react-native-expo/tusFileReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

1 comment on commit 854654b

@arturi
Copy link
Contributor

@arturi arturi commented on 854654b May 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙀

Please sign in to comment.