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
Checking out the react-native example, I tried pulling it down on my Mac but my mac version required I use iOS 12+, so I simply copied the config and modeled my app to follow the patterns in the example. However, I ran into errors around window.postMessage and window.addEventListener being undefined. I mocked those, and it seems like the errors no longer happen, but (1) the docs don't capture that, and (2) It's unclear if setting this will affect functionality at all (even though it seems like the example works.
Now, my example uses the latest react-native version (0.73.5), so I don't know if that has anything to do with needing to stub out those window functions, as the example doesn't stub them out. Should this be the new way of doing it?
To Reproduce
Steps to reproduce the behavior:
Download example repo
Cry
Expected behavior
Example repo should serve as an example for usage in react-native environment.
Illustrations
N/A
Environment (please complete the following information):
Liveblocks @ 1.10.0
react-native @ 0.73.5
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Checking out the react-native example, I tried pulling it down on my Mac but my mac version required I use iOS 12+, so I simply copied the config and modeled my app to follow the patterns in the example. However, I ran into errors around
window.postMessage
andwindow.addEventListener
being undefined. I mocked those, and it seems like the errors no longer happen, but (1) the docs don't capture that, and (2) It's unclear if setting this will affect functionality at all (even though it seems like the example works.Now, my example uses the latest react-native version (0.73.5), so I don't know if that has anything to do with needing to stub out those window functions, as the example doesn't stub them out. Should this be the new way of doing it?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Example repo should serve as an example for usage in react-native environment.
Illustrations
N/A
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: