-
Notifications
You must be signed in to change notification settings - Fork 250
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
null is not an object (evaluating 'this._ref.show') #82
Comments
Hi guy, uninstall with |
will try. Thank you. |
zsh: command not found: yarn That's the error I received. Will there be a problem if I'm using npm then switch to yarn? |
install yarn through this link |
Hello, I was able to use yarn instead of npm. I will now close this issue. Thank you very much for your help. |
This issue still exists with more common npm install so its not a viable solution |
With @rogerkerse's contribution, published the fix in v1.3.5 |
I'm still getting this error but the toasts work. Any ideas? |
Here's my code in app.js
`const App = createAppContainer(switchNavigator);
export default () => {
return (
<Toast ref={(ref) => Toast.setRef(ref)} />
<App
ref={(navigator) => {
setNavigator(navigator);
}}
/>
);
};`
Here's my code on my login.js that uses notification.
const LoginScreen = ({ navigation }) => { // initialized Auth Context Toast.show({ text1: "Hello", text2: "This is some something 👋", });
....
The text was updated successfully, but these errors were encountered: