-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is my error? TypeError: null is not an object #22
Comments
Same |
same error React-native: v0.64.3 [Unhandled promise rejection: TypeError: null is not an object (evaluating '_reactNativeImageBase.default.getBase64String')] |
same |
@iamtheretronerd I didn't find any solution for react-native-image-base64 but you can use import * as FileSystem from 'expo-file-system';
const getBase64 = async (path) => {
await FileSystem.readAsStringAsync(path, { encoding: 'base64' })
.then(base64 => console.log(base44))
.catch(err => console.log(err))
} |
this guy is fucking right trust him ( in my opinion ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my code:
With this, I am getting an error saying "TypeError: null is not an object".
Please solve my error
Thanks!
The text was updated successfully, but these errors were encountered: