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

offliine support v5

Open akanz opened this issue 3 years ago • 4 comments

Good day,

I am still encountering the react-native-quick-sqlite issue. I removed both yarn.lock file and node_modules and reinstalled. I also did pod deintegrate and installed pods again. I'm using stream-chat-react-native 5.3.0 and react-native-quick-sqlite 4.0.7.

akanz avatar Sep 19 '22 13:09 akanz

@akanz thanks for reaching out, can you please be more specific, with which issue you're getting precisely? Please fill here below the following template

vanGalilea avatar Sep 19 '22 14:09 vanGalilea

I am trying to enable offline support for getstream chat reactnative but I keep getting react-native-quick-sqlite not installed.

Dev environment info (please complete/provide the following information):

stream-chat-react-native@^5.3.0 [email protected] ios emulator OS 15.5

To Reproduce Steps to reproduce the behavior:

Migrated to v5. I installed the latest stream-chat-react-native and installed react-native-quick-sqlite. run npx pod install. Trying to enable offline support with the enableOfflineSupport prop throws the error.

I have removed node_modules and yarn.lock file and reinstalled but throws same error.

Simulator Screen Shot - iPhone 13 - 2022-09-19 at 15 40 12

akanz avatar Sep 19 '22 14:09 akanz

Hey @akanz can you try running yarn start --reset-cache and then yarn run ios? I hope this helps. Make sure you have the package react-native-quick-sqlite and have done pod install.

khushal87 avatar Sep 20 '22 05:09 khushal87

I tried the above. removed and reinstall but gives the same error message. NB: I am using reactnative 0.69 patch

akanz avatar Sep 21 '22 15:09 akanz

@akanz would you mind sharing with us minimum reproducible repository for this issue?

vishalnarkhede avatar Oct 11 '22 08:10 vishalnarkhede

The fastest way to achieve this is with the following command to create a new RN project with Stream chat in it:

npx react-native init MyApp --template stream-chat-react-native-template

Please then share a Github repo with us, where we can explore the issue ourselves.

vanGalilea avatar Oct 17 '22 09:10 vanGalilea

https://github.com/GetStream/stream-chat-react-native/issues/1788

billnbell avatar Nov 08 '22 18:11 billnbell

Your template is very old, and not using React 18 and React Native 0.70.5

billnbell avatar Nov 08 '22 18:11 billnbell

@billnbell, thanks for reaching out. I'll be closing this issue due to inactivity. Please don't hesitate to contact us in the future with the reproducible GH repo.

  • We will be updating the stream-chat-react-native-template template; At the moment, we're not supporting this template officially.

vanGalilea avatar Dec 05 '22 10:12 vanGalilea

Your template is very old, and not using React 18 and React Native 0.70.5

No it's not... ran into the same issue on iOS with quite a new template.... Issue was resolved by switching of the debugger (react native debugger)

vlack-coder avatar Dec 11 '22 00:12 vlack-coder

@billnbell, thanks for reaching out. I'll be closing this issue due to inactivity. Please don't hesitate to contact us in the future with the reproducible GH repo.

  • We will be updating the stream-chat-react-native-template template; At the moment, we're not supporting this template officially.

It doesn't work well with react native debugger

vlack-coder avatar Dec 11 '22 00:12 vlack-coder