QuickBlox / quickblox-react-native-samples

quickblox-react-native-samples
BSD 3-Clause "New" or "Revised" License
17 stars 27 forks source link

ReactNative + Android Error: Client is not, or no longer, connected. #54

Open arun-rajs opened 1 year ago

arun-rajs commented 1 year ago

Hi There,

ReactNative + Android

I am getting the below error while calling the QB.chat.joinDialog({ dialogId: createResp.id }) method

  Error: Client is not, or no longer, connected.
    at Object.promiseMethodWrapper [as joinDialog] (NativeModules.js:105)

Here is my packages

"dependencies": { "@react-native-async-storage/async-storage": "github:react-native-async-storage/async-storage", "@react-navigation/bottom-tabs": "^6.5.7", "@react-navigation/drawer": "^6.6.2", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.9.12", "@reduxjs/toolkit": "^1.9.3", "@types/axios": "^0.14.0", "amazon-cognito-identity-js": "^6.1.2", "axios": "^1.3.5", "dayjs": "^1.11.7", "quickblox-react-native-sdk": "^0.9.4", "react": "18.2.0", "react-devtools": "^4.27.2", "react-native": "0.71.4", "react-native-calendars": "^1.1295.0", "react-native-gesture-handler": "^2.9.0", "react-native-image-picker": "^5.3.1", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-onesignal": "^4.5.1", "react-native-paper": "^5.3.1", "react-native-permissions": "^3.8.0", "react-native-raw-bottom-sheet": "^2.2.0", "react-native-reanimated": "^3.0.2", "react-native-safe-area-context": "^4.5.0", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "^3.20.0", "react-native-svg": "^13.9.0", "react-native-toast-message": "^2.1.6", "react-native-vector-icons": "^9.2.0", "react-redux": "^8.0.5", "redux-persist": "^6.0.0", "twrnc": "^3.6.0" },

sshaforenkoqb commented 1 year ago

Hello @arun-rajs, could you please share application logs.