osdnk / react-native-reanimated-bottom-sheet

Highly configurable bottom sheet component made with react-native-reanimated and react-native-gesture-handler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read property 'prototype' of undefined

rezamohdev opened this issue · comments

I am using the basic example of bottom-sheet but I got this error:
Cannot read property 'prototype' of undefined

"reanimated-bottom-sheet": "^1.0.0-alpha.22"

"react-native": "0.72.4",
"react-native-gesture-handler": "^2.12.1",
"react-native-paper": "^5.10.4",
"react-native-reanimated": "^3.5.4",

I got the same error after updatint to the latest version of expo 49.

I got the same error after updatint to the latest version of expo 49.

I don't use expo workflow but I think the issue is going to be the same! I can't use even other bottom sheet libraries! :/

I got the same error after updatint to the latest version of expo 49.

I don't use expo workflow but I think the issue is going to be the same! I can't use even other bottom sheet libraries! :/

Yes, the issue is the same, expo 49 using RN 0.72.4. This morning I finally solved this problem by using another bottom lib: https://gorhom.github.io/react-native-bottom-sheet.

I am not that lucky, I have tried this before and even didn't get a solution 🫠,
But thanks anyway

I got the same error after updatint to the latest version of expo 49.

I don't use expo workflow but I think the issue is going to be the same! I can't use even other bottom sheet libraries! :/

Yes, the issue is the same, expo 49 using RN 0.72.4. This morning I finally solved this problem by using another bottom lib: https://gorhom.github.io/react-native-bottom-sheet.

Documentation says compatible with Reanimated V1 and V2, did It work with V3 ? @Frontend-dev-sarah

Any further update on this topic!

I got the same error after updatint to the latest version of expo 49.

I don't use expo workflow but I think the issue is going to be the same! I can't use even other bottom sheet libraries! :/

Yes, the issue is the same, expo 49 using RN 0.72.4. This morning I finally solved this problem by using another bottom lib: https://gorhom.github.io/react-native-bottom-sheet.

Documentation says compatible with Reanimated V1 and V2, did It work with V3 ? @Frontend-dev-sarah

My projet uses V3, yes it works with V3.

@rezamohdev
How did you mange to solve this!

@rezamohdev How did you mange to solve this!

I did not solve it yet and left my project did you solve it?

is this being maintained?

@demfabris sadly i believe is not

Same problem here after moving to reanimated 3.x and Expo 49. I think it's time to move on and try another library...

Has anyone solved this problem ? Is the only solution to use another package ?

Has anyone solved this problem ? Is the only solution to use another package ?

As mentioned by @Frontend-dev-sarah, you can use react-native-bottom-sheet it works with Expo 49 and Reanimated V3. Even though the documentation does not mention Reanimated V3.

Same error after moving to expo 49, has anyone else managed to solve this?

Same error after moving to expo 49, has anyone else managed to solve this?

I've tried, but the only solution was migrate to
https://www.npmjs.com/package/@gorhom/bottom-sheet

It worked fine with Expo 49 and Reanimated V3

What is going on please, I can't even run the example code because of this error