Skip to content
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

Error showing Toas Notification #224

Open
elChechu opened this issue Aug 20, 2020 · 2 comments · May be fixed by #229
Open

Error showing Toas Notification #224

elChechu opened this issue Aug 20, 2020 · 2 comments · May be fixed by #229

Comments

@elChechu
Copy link

When i try to show toast notificatino with fade params or without (idefault values), I get a yellow warning saying: Animated: useNativeDriver was not specified. This is a required 'option and must be explicitly set to true or false

Steps to reproduce the behavior:

import toast from galio
import { Toast } from 'galio-framework';

Create simple Toast, using isShow hook
This is a top positioned toast

And create Button to show Toast
<Button shadowless onPress={() => setShow(!isShow)} style={{ marginBottom: 80 }}>click here for toast notifications

Expected

I suppose that the error comes from the Toast.js that contains galio framework inside 'node_modules', and that maybe you have to add the property that it shows in said warning

  • Device: iPhone 7 plus
  • Type of device: physical
  • OS: iOS13.5.1
  • React-Native version: 0.63
  • Expo version: 3.22.3
@phillx phillx linked a pull request Sep 9, 2020 that will close this issue
@natalyayyad
Copy link

I'm facing same issue. Does editing Toast.js as suggested in #229 fix the issue?

@zenghnn
Copy link

zenghnn commented Oct 20, 2021

after update to v0.8.0, this problem is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants