colorfy-software / react-native-modalfy

🥞 Modal citizen of React Native.
https://colorfy-software.gitbook.io/react-native-modalfy
MIT License
1.08k stars 44 forks source link

Cannot read property 'openedItems' of undefined #39

Closed Dsantosjaime closed 3 years ago

Dsantosjaime commented 3 years ago

Hi, I have follow the installation process for modalfy but it crash at runtime and send me this error :

Screenshot 2021-03-04 at 11 23 30

Im my app I currently just have "import {ModalProvider} from 'react-native-modalfy';" in app.js, and wrap my "" with "". As I don't really have a clue about why this issue is happening I don't know what to bring you about my config or other thing, let me know if I can provide something else that help resolve this problem.

Best regards,

CharlesMangwa commented 3 years ago

Hi @Dsantosjaime! Could you provide a reproducible demo on Expo Snack please?

Also, were you able to successfully go through the Creating a stack guide? By the looks of it, my initial assumption is that you didn't provide any stack config to the ModalProvider which would explain the error.

CharlesMangwa commented 3 years ago

Closing this issue for now due to inactivity, feel free to reopen it if you're still facing that issue!