react-native-blob-util `getConstants` error in expo snack android / ios
SheetJSDev opened this issue · 6 comments
Summary
Importing react-native-blob-util
in Expo Snack throws the error
null is not an object (evaluating 's.default.getConstants')
This error does not show up in a normal project.
What platform(s) does this occur on?
Android, iOS
SDK Version
47.0.0
Reproducible demo or steps to reproduce from a blank project
simplest repro: https://snack.expo.dev/7gchaAZa2 . Steps:
- create a new snack
- add a dependency on
react-native-blob-util
inpackage.json
- import the dependency somewhere in
App.js
.
For an apples-to-apples comparison, https://docs.sheetjs.com/docs/getting-started/example#run-the-demo-locally select "Mobile App". The macOS + iOS, macOS + Android, and Win10 + Android steps have been tested on multiple machines.
The same code in a snack: https://snack.expo.dev/CzKgQUjCH
Android fails with:
iOS fails with:
I am getting the same error, is there any solution??
I have the same error and my project is stuck, any solution or similar package ?
But this is likely to the fact that I'm heavily using native code written in java and the lib not being part of the Expo SDK. So you can't use it.
Hello, im having the same issue :(
But this is likely to the fact that I'm heavily using native code written in java and the lib not being part of the Expo SDK. So you can't use it.
Are you planning to make this module work with expo or do you know any substitute for you package which works on expo?
hello having same issue here is it fixed?