You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a task to upgrade the dependency in our backlog, but I don't yet know how fast we'll be able to prioritize this just yet. This should not break anything in your application, and for the time being you could suppress the warning by passing it as a string in an array to the React Native LogBox (Something like LogBox.ignoreLogs(["EventEmitter.removeListener"]) for example) until we have a release ready that handles the deprecation.
We'll get back to you when we have more information on this.
Link so this is referenced In our Jira issue: CRNS-494
That seemed to do the tick for me. I think the real upgrade would be changing these to both be Modals, but that was a larger refactor than what I wanted as a patch. The nice thing about it all is that I was able to use BottomSheetModalProvider and useBottomSheet without any other changes to this lib.
Activity
madsroskar commentedon Dec 15, 2021
Thanks for creating the issue!
We have a task to upgrade the dependency in our backlog, but I don't yet know how fast we'll be able to prioritize this just yet. This should not break anything in your application, and for the time being you could suppress the warning by passing it as a string in an array to the React Native LogBox (Something like
LogBox.ignoreLogs(["EventEmitter.removeListener"])for example) until we have a release ready that handles the deprecation.We'll get back to you when we have more information on this.
Link so this is referenced In our Jira issue: CRNS-494
izakfilmalter commentedon Dec 15, 2021
I just did this as a patch, lol. It does break the app forcing
@gorhom/bottom-sheet@4.1.5. It's a fairly easy upgrade though.I had to do the following:
enablePanDownToCloseto both instances of BottomSheet.snapTochanged tosnapToIndex:ImageGallery.tsxThat seemed to do the tick for me. I think the real upgrade would be changing these to both be Modals, but that was a larger refactor than what I wanted as a patch. The nice thing about it all is that I was able to use
BottomSheetModalProvideranduseBottomSheetwithout any other changes to this lib.madsroskar commentedon Dec 15, 2021
Thanks for reporting back with the changes you made for it to work, that's very helpful.
The modal wrapper in v4 does look nice, we'll look into that as part of the upgrade.
andreibarabas commentedon Dec 17, 2021
Thanks guys. @izakfilmalter for the patch
vishalnarkhede commentedon Mar 1, 2022
Hey @andreibarabas we have published our next major version of RN Chat SDK -
v4.1.0🎉.This release includes the fix for this issue. Please take a look at Release Notes for details.
andreibarabas commentedon Mar 1, 2022
Yes. I can confirm it's upgraded and working now. Thanks @vishalnarkhede