Skip to content

Error showing Toas Notification #224

@elChechu

Description

@elChechu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions