stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

react-native-web support

Open vishalnarkhede opened this issue 6 years ago • 12 comments

Support for RNW is currently work in progress at following PR - https://github.com/GetStream/stream-chat-react-native/pull/190

  • [x] Introduced a new NPM package - stream-chat-react-native-web
  • [x] Move native dependencies such as react-native-document-picker, react-native-image-picker, NetInfo from core component library (stream-chat-react-native-core) to package level - stream-chat-react-native (native-package) and stream-chat-expo (expo-package)
  • [ ] Build wrappers for native dependencies such as image picker, file picker, netinfo, actionsheet for stream-chat-react-native-web package
  • [ ] Setup an example app.
  • [ ] Docs

Kindly upvote the issue if you need RNW support for your project, so depending on demand I can prioritise this task.

vishalnarkhede avatar May 03 '20 06:05 vishalnarkhede

Awesome to see this making progress! My company's Expo app runs on iOS, Android, and Web all with one codebase and we would love to try moving to stream if RN-web was supported.

fractalgelfo avatar Jul 17 '20 19:07 fractalgelfo

+1

dcsena avatar Nov 24 '20 23:11 dcsena

My team and I would like to see support for this, is it still being considered?

marcod1419 avatar Jan 15 '21 17:01 marcod1419

Closing this for now. Will reopen once we get back to it!!

vishalnarkhede avatar Mar 14 '21 20:03 vishalnarkhede

Will RNW support be available anytime soon?

blitzbohne avatar Apr 24 '21 08:04 blitzbohne

Also curious, is web working? Reanimated 2 now works on web, as does RNGH. Same goes for all the expo peer dependencies in the expo package.

My guess is, the expo package should work out of the box on web.

nandorojo avatar May 17 '21 16:05 nandorojo

@vishalnarkhede are there plans to re-open this?

nandorojo avatar Oct 14 '21 03:10 nandorojo

Can I use this package with React Native Web? I'm using Expo 44 and I'd like to initially build it for Web before releasing it to iOS and Android.

thecannabisapp avatar May 29 '22 19:05 thecannabisapp

Would be great to see this move forward. It's a huge pita to write an app with both react-native and react stream right now.

izakfilmalter avatar Jan 30 '23 02:01 izakfilmalter

Bumping this thread, has there been any progress on this?

fzf avatar Jul 03 '23 18:07 fzf

Any progress with this? Considering migrating to an alternative API so we can have RNW

YonahAFeld avatar Apr 10 '24 22:04 YonahAFeld

I would love this as well. In the meantime is there a way to disable Stream when building for web? I like deving on web just because it's easier than using the phone simulators but currently I can't test my app on web because including Stream breaks it.

alexmlong avatar Apr 20 '24 20:04 alexmlong