ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
124 stars 111 forks source link

Old chat message not getting first time and message not sending first time. #290

Open coderkube opened 2 years ago

coderkube commented 2 years ago

const {userData, connectyCubeCredentials, isExpert} = useAuth(); const Navigation = useNavigation(); const {loadingOn, loadingOff} = useLoading(); const [message, setMessage] = useState(''); const [messages, setMessages] = useState([]);

const [videoSession, setVideoSession] = useState({}); const [callTime, setCallTime] = useState(0); const timerRef = useRef(); const [localStream, setLocalStream] = useState({}); const [remoteStream, setRemoteStream] = useState({}); const [activeCall, setActiveCall] = useState(false); const [videoViewVisible, setVideoViewVisible] = useState(false); const [callModalVisible, setCallModalVisible] = useState(false); const [ confirmSessionCompleteVisible, setConfirmSessionCompleteVisible, ] = useState(false); const videoSessionRef = useRef({}); const opponentId = isExpert ? session.userConnectyCubeId : session.expertConnectyCubeId;

useEffect(() => { console.log('Setting up listeners'); connectToChat( userData.connectyCubeId, connectyCubeCredentials.sessionToken, ); initListeners();

if (session.connectyCubeDialog) {
  getMessages().then(() => {
    updateReadAll(session.connectyCubeDialog);
  });
} else {
  createDialog(opponentId, session.sessionId);
}
return () => {
  if (videoSession.current) {
    videoSessionRef.current.stop({});
  }

  resetCallState();
};

}, []);

useEffect(() => { videoSessionRef.current = videoSession; }, [videoSession]);

const sendMessage = async () => { if (message.length > 0) { sendDialogMessage(opponentId, session.connectyCubeDialog, message); } setMessage(''); };

const getMessages = async () => { const fetchedMessages = await getDialogMessages(session.connectyCubeDialog); setMessages(fetchedMessages); };

const makeCall = async () => { const {videoSession, localStream} = await initCall( session.userConnectyCubeId, );

setVideoSession(videoSession);
setLocalStream({stream: localStream, userId: session.expertConnectyCubeId});
setActiveCall(true);
setVideoViewVisible(true);

};

const acceptCall = () => { videoSession.accept({}); setActiveCall(true); setVideoViewVisible(true); };

const rejectCall = () => { console.log('Rejecting call'); videoSession.reject({}); };

const endCall = () => { console.log('Ending call'); console.log('ON END CALL VIDEO SESSION', videoSession); pauseTimer(); console.log('END CALL CALL TIMER', callTime); videoSession.stop({});

resetCallState();

};

const resetCallState = () => { setLocalStream({}); setRemoteStream({}); setActiveCall(false); setVideoSession({}); setVideoViewVisible(false); };

const onMessageListener = (userId: number, message: any) => { getMessages(); };

const onSentMessageListener = (messageLost: any, messageSent: any) => { if (messageLost) { console.log('Message Lost', messageLost); } else if (messageSent) { getMessages(); } console.log('on sent message callback'); console.log('message lost', messageLost); console.log('message sent', messageSent); };

const onCallListener = async (session: any, extension: any) => { setVideoSession(session); const mediaParams = { audio: false, video: {facingMode: 'user'}, options: { muted: true, mirror: true, }, }; console.log('ON CALL LISTENER SESSION', session); await session .getUserMedia(mediaParams) .then((localStream: any) => setLocalStream({ stream: localStream, userId: session.expertConnectyCubeId, }), ) .catch((error: any) => { console.log('Local Stream error', error); });

setCallModalVisible(true);

};

const onAcceptCallListener = async ( session: any, userId: number, extension: any, ) => { setVideoSession(session); };

const onRejectCallListener = async ( session: any, userId: number, extension: any, ) => { console.log('Call was rejected'); console.log('Typeof userId', typeof userId); resetCallState(); };

const onUserNotAnswerListener = ( session: any, userId: number, extension: any, ) => { console.log('No answer', session);

resetCallState();

};

const onRemoteStreamListener = ( session: any, userId: number, remoteStream: any, ) => { console.log('ON REMOTE STREAM LISTENER', session.localStream); console.log('ON REMOTE STREAM LISTENER', userId); console.log('ON REMOTE STREAM LISTENER', remoteStream);

setRemoteStream({
  stream: remoteStream,
  userId: userId,
});

};

const onSessionConnectionStateChangedListener = ( session: any, userID: number, connectionState: any, ) => { console.log('CONNECTION STATE', connectionState); if (connectionState === 2) { startTimer(); } else if (connectionState === 5) { pauseTimer(); } };

const onStopCallListener = (session: any, userId: number, extension: any) => { console.log('ON STOP CALL', session);

resetCallState();
setCallModalVisible(false);

};

const onSessionCloseListener = ( session: any, userId: number, extension: any, ) => { console.log('ON SESSION CLOSE SESSION', session); console.log('ON SESSION CLOSE userid', userId); setCallModalVisible(false); if (session.peerConnections[opponentId].connectionState === 'connected') { setConfirmSessionCompleteVisible(true); } };

const initListeners = () => { ConnectyCube.chat.onMessageListener = onMessageListener; ConnectyCube.chat.onSentMessageCallback = onSentMessageListener; ConnectyCube.videochat.onCallListener = onCallListener; ConnectyCube.videochat.onAcceptCallListener = onAcceptCallListener; ConnectyCube.videochat.onRemoteStreamListener = onRemoteStreamListener; ConnectyCube.videochat.onSessionConnectionStateChangedListener = onSessionConnectionStateChangedListener; ConnectyCube.videochat.onStopCallListener = onStopCallListener; ConnectyCube.videochat.onRejectCallListener = onRejectCallListener; ConnectyCube.videochat.onUserNotAnswerListener = onUserNotAnswerListener; ConnectyCube.videochat.onSessionCloseListener = onSessionCloseListener; };

const onSessionComplete = () => { loadingOn(); completeSession(session.sessionId, callTime).then((response) => { console.log('Session complete response status', response); if (response === 200) { if (isExpert) { loadingOff(); Navigation.navigate('SessionCompleteScreen', { review: '', session: session, }); } else { loadingOff(); Navigation.navigate('ReviewScreen', { session: session, }); } } }); };

const startTimer = () => { timerRef.current = setInterval(() => { setCallTime((time) => time + 1); }, 1000); };

const pauseTimer = () => { clearInterval(timerRef.current); };

const toggleVideoView = () => { setVideoViewVisible(!videoViewVisible); };

const OPTIONS = { chat: { streamManagement: { enable: true, }, }, debug: { mode: 1 }, }; const appId = 4795;

export const mediaParams = { audio: true, video: { facingMode: 'user' }, // options: { // muted: true, // mirror: true, // }, };

export const initConnectyCube = async ( sessionToken: string, accessToken: string, ) => { ConnectyCube.init({ appId, token: sessionToken }, OPTIONS); await signInConnectyCube(accessToken); const deviceToken = await AsyncStorage.getItem('@FCM_Token'); console.log("check viral deviceToken >>>>>>>>> " + deviceToken) subcribeToConnectyCubePushNotification(deviceToken);

};

const subcribeToConnectyCubePushNotification = (deviceToken) => { console.log("deviceToken subcribeToConnectyCubePushNotification >>>>>> " + deviceToken) const DeviceInfo = require('react-native-device-info').default;

const params = { notification_channel: Platform.OS === 'ios' ? 'apns' : 'gcm', device: { platform: Platform.OS, udid: DeviceInfo.getUniqueId(), }, push_token: { environment: DEV ? 'development' : 'production', client_identification_sequence: deviceToken, bundle_identifier: Platform.OS === 'ios' ? 'se.nemasstockholm.app' : 'com.nemas_native', }, };

console.log('push params', params);

ConnectyCube.pushnotifications.subscriptions .create(params) .then((result: any) => { console.log('ConnectyCube push notification subscription result', result); }) .catch((error: any) => { console.log('ConnectyCube push notification subscription error', error); }); };

export const signInConnectyCube = async (accessToken: string) => { console.log('ACCESS TOKEN', accessToken); await ConnectyCube.login({ login: accessToken }) .then((response: any) => { console.log('CC LOG IN RESPONSE', response.id); }) .catch((error: any) => { console.log('CC LOG IN ERROR', error); }); };

export const connectToChat = async (userId: number, sessionToken: string) => { console.log('Connect to CC chat', userId); console.log('Connect to CC chat', sessionToken);

new Promise(async (resolve, reject) => {

await ConnectyCube.chat
  .connect({ userId: userId, password: sessionToken })
  .then(() => {
    console.log('Connecty cube is connected', ConnectyCube.chat.isConnected);

    return resolve(ConnectyCube.chat.isConnected)

  })
  .catch((error: any) => {
    console.log('connect error', error)
    return reject(false)

  });

});

};

export const createDialog = async (occupantId: number, sessionId: string) => { console.log('dialog occupants', occupantId); console.log('dialog session ID ', sessionId); console.log({ type: 3, occupants_ids: [occupantId] }); var dialogs ConnectyCube.chat.dialog .create({ type: 3, occupants_ids: [occupantId] }) .then((dialog: any) => { console.log('CREATED DIALOG', dialog); saveChatDialogInSession(sessionId, dialog._id);

 dialogs=dialog
})
.catch((error: any) => {
  console.log('CREATE DIALOG ERROR', error.info);
});

console.log("dialogs 123  ",dialogs)
return dialogs;

};

export const sendDialogMessage = async ( opponentId: number, dialogId: string, message: string, ) => { console.log('type of opponentId', typeof opponentId); console.log('type of dialogId', dialogId); console.log('sending message'); const messageOptions = { type: 'chat', body: message, extension: { save_to_history: 1, dialog_id: dialogId, }, markable: 1, };

await ConnectyCube.chat.send(opponentId, messageOptions); };

export const getDialogMessages = async (dialogId: string) => { // const params = { // chat_dialog_id: dialogId, // sort_desc: 'date_sent', // limit: 100, // skip: 0, // };

// return await ConnectyCube.chat.message // .list(params) // .then((messages: any) => { // console.log('Dialog messages fetched'); // console.log('Got Message', messages.items); // let data = messages.items;

// data = data.filter(function (item) {

// return item.read == '0'; // });

// console.log('UNREADCOUNT >> ' + data.length);

// return messages; // }) // .catch((error: any) => { // console.log('Get messages error', error); // }); const params = { chat_dialog_id: dialogId, sort_desc: 'date_sent', limit: 100, skip: 0, };

return await ConnectyCube.chat.message .list(params) .then((messages: any) => { console.log('Dialog messages fetched'); return messages; }) .catch((error: any) => { console.log('Get messages error', error); }); };

export const updateReadAll = async (dialogId: string) => { const params = { read: 1, chat_dialog_id: dialogId, };

ConnectyCube.chat.message .update('', params) .then(() => { console.log('Updated read all'); }) .catch((error: any) => { console.log('Update read all error', error); }); };

export const updateUnReadCount = async (dialogId: string) => { const params = { dialogs_ids: [dialogId] };

ConnectyCube.chat.message .unreadCount(params) .then((result : any) => { console.log('Update unread count', result.total) ; return result.total; }) .catch((error : any) => { console.log('Update unread count error', error);}); };

export const initCall = async (opponentId: number) => { const sessionType = ConnectyCube.videochat.CallType.VIDEO; const additionalOptions = {}; const videoSession = ConnectyCube.videochat.createNewSession( [opponentId], sessionType, additionalOptions, );

return await videoSession .getUserMedia(mediaParams) .then((localStream: any) => { videoSession.call({}); return { videoSession, localStream }; }) .catch((error: any) => { console.log('Local Stream error', error); }); };

export const acceptCalls = async (session: any) => {

console.log("check session >>>>>>> " + session)

const videoSession = session;

return await videoSession .getUserMedia(mediaParams) .then((videoSessions: any) => { videoSession.accept({}); return videoSessions; }); };

CREATED DIALOG {"_id": "61ded1f0bac94b001fa0c9da", "admins_ids": [], "created_at": "2022-01-12T13:04:48Z", "description": null, "is_e2ee": false, "is_muted": false, "last_message": "Test 111", "last_message_date_sent": 1642744753, "last_message_id": "61ea4bb19a74b51f1f000000", "last_message_status": null, "last_message_user_id": 5323674, "name": "custom_RDUIVDk0W3fKydrIbncxmg15CSz1", "occupants_count": 2, "occupants_ids": [5323674, 5323737], "photo": null, "pinned_messages_ids": [], "type": 3, "unread_messages_count": 1, "updated_at": "2022-01-21T05:59:13Z", "user_id": 5323737, "xmpp_room_jid": null}

61ded1f0bac94b001fa0c9da this is my dialog id it's proper to see in ss

LOG [Chat] RECV: jid>5323737-4795@chat.connectycube.com/2039927192-chat-205387</jid LOG [Chat] SENT: LOG [Chat] status online 5323737-4795@chat.connectycube.com/2039927192-chat-205387 LOG [Chat] ONLINE LOG [Chat] CONNECTED LOG [Chat] SENT: LOG [Chat] SENT: LOG [Chat] SENT:

LOG [Response][199] {"errors": ["Not found"]} LOG Get messages error {"code": 404, "info": {"errors": ["Not found"]}}

everything is pass proper when i am get and send message. still same issue.

when i am come to chat firsttime message not get and send then after i am go back and again come to chat screen message come and sent. my question is if everything is pass properly then why first time in message not come?

ccvlad commented 2 years ago

@coderkube hello

Could you describe the issue by steps? I was confused when trying to understand.

Would be great if you show full React Native Metro's log from start of you application to the issue happens. I expect to see there what has happened

coderkube commented 2 years ago

you have an existed dialog with a history on server side and you need to get the history (all messages), do you?

export const getDialogMessages = async (dialogId: string) => {

const params = { chat_dialog_id: dialogId, sort_desc: 'date_sent', limit: 100, skip: 0, };

return await ConnectyCube.chat.message .list(params) .then((messages: any) => { console.log('Dialog messages fetched'); return messages; }) .catch((error: any) => { console.log('Get messages error', error); }); };

also you can't send first message to the chat, is it?

Yes

LOG check session in click {"created": {"nanoseconds": 776000000, "seconds": 1643263277}, "dateAndTime": "2022-01-27T07:55:32.000+01:00", "estimatedTime": "21", "expertConnectyCubeId": 5323737, "images": ["https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148450", "https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148461"], "isNotify": true, "paymentDescriptor": "pi_3KMR34PV9mkMumr50NgC1ExG", "price": 5600, "propositionAuthorBusinessName": "viral test", "propositionAuthorEmail": "viralp.coderkube@gmail.com", "propositionAuthorId": "zbUkdGT2YkXongWauF9lDY0a11t2", "propositionAuthorUsername": "Viral p", "propositionId": "PR22127461-34699", "propositionMessage": "Trtrtrtrt", "propositionMotivation": "Fffgfgfgfg", "sessionId": "SE22127461-89435", "status": "paid", "taskAuthorEmail": "kishansutariya.coderkube@gmail.com", "taskAuthorId": "RDUIVDk0W3fKydrIbncxmg15CSz1", "taskAuthorUsername": "Kishan S", "taskDescription": "Hdjdj", "taskId": "TA221274558-94089", "taskTitle": "Check book", "updated": {"nanoseconds": 379000000, "seconds": 1643276023}, "userConnectyCubeId": 5323674} LOG check params {"dialogs_ids": [",61ded1f0bac94b001fa0c9da"]} LOG [Request][122] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [",61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check maincounts_chat >>> 0 LOG check chatscreen session {"price":5600,"userConnectyCubeId":5323674,"propositionMessage":"Trtrtrtrt","taskDescription":"Hdjdj","dateAndTime":"2022-01-27T07:55:32.000+01:00","status":"paid","isNotify":true,"propositionAuthorUsername":"Viral p","estimatedTime":"21","propositionAuthorBusinessName":"viral test","expertConnectyCubeId":5323737,"taskAuthorId":"RDUIVDk0W3fKydrIbncxmg15CSz1","taskAuthorUsername":"Kishan S","updated":{"seconds":1643276023,"nanoseconds":379000000},"propositionMotivation":"Fffgfgfgfg","propositionAuthorEmail":"viralp.coderkube@gmail.com","propositionAuthorId":"zbUkdGT2YkXongWauF9lDY0a11t2","images":["https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148450","https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148461"],"taskTitle":"Check book","taskAuthorEmail":"kishansutariya.coderkube@gmail.com","created":{"seconds":1643263277,"nanoseconds":776000000},"propositionId":"PR22127461-34699","paymentDescriptor":"pi_3KMR34PV9mkMumr50NgC1ExG","taskId":"TA221274558-94089","sessionId":"SE22127461-89435"} LOG IS EXPERT? false LOG check ProfileSlice expert undefined ERROR VirtualizedLists should never be nested inside plain ScrollViews with the same orientation because it can break windowing and other functionality - use another VirtualizedList-backed container instead. VirtualizedList@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:63376:36 FlatList@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62988:36 RCTScrollContentView RCTScrollView ScrollView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:65688:36 ScrollView RCTView View RCTSafeAreaView SafeAreaView StyledNativeComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:124939:36 Styled(Component) ChatView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:273900:23 RCTSafeAreaView SafeAreaView StyledNativeComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:124939:36 Styled(Component) ChatScreen@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:273688:26 StaticContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106555:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106445:22 RCTView View RCTView View RCTView View CardSheet@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120044:23 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:112731:38 PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111890:34 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper RCTView View Card@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117628:36 CardContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117299:22 RCTView View MaybeScreen@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115767:24 RCTView View MaybeScreenContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115736:23 CardStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115214:36 KeyboardManager@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120213:36 SafeAreaProviderCompat@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120666:24 RCTView View StackView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111122:36 StackNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:110997:32 ChatStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:272872:45 StaticContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106555:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106445:22 RCTView View SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:261467:36 RNCViewPager PagerView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:261829:36 AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper PagerViewAdapter@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:261635:37 RCTView View TabView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:261285:29 MaterialTopTabView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:260126:21 MaterialTopTabNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:260060:32 RNCSafeAreaView AppStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:221088:26 StaticContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106555:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106445:22 RCTView View RCTView View RCTView View CardSheet@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120044:23 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:112731:38 PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111890:34 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper RCTView View Card@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117628:36 CardContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117299:22 RCTView View MaybeScreen@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115767:24 RCTView View MaybeScreenContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115736:23 CardStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115214:36 KeyboardManager@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120213:36 SafeAreaProviderCompat@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120666:24 RCTView View StackView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111122:36 StackNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:110997:32 MainStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:220955:26 StaticContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106555:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106445:22 RCTView View RCTView View RCTView View CardSheet@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120044:23 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:112731:38 PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111890:34 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper RCTView View Card@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117628:36 CardContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117299:22 RCTView View MaybeScreen@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115767:24 RCTView View MaybeScreenContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115736:23 CardStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115214:36 KeyboardManager@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120213:36 SafeAreaProviderCompat@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120666:24 RCTView View StackView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111122:36 StackNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:110997:32 RootStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:220853:44 StaticContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106555:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 SceneView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:106445:22 RCTView View RCTView View RCTView View CardSheet@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120044:23 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:112731:38 PanGestureHandler@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111890:34 RCTView View AnimatedComponent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:62655:24 AnimatedComponentWrapper RCTView View Card@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117628:36 CardContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:117299:22 RCTView View MaybeScreen@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115767:24 RCTView View MaybeScreenContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115736:23 CardStack@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:115214:36 KeyboardManager@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120213:36 RNCSafeAreaProvider SafeAreaProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111658:24 SafeAreaProviderCompat@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:120666:24 RCTView View StackView@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:111122:36 StackNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:110997:32 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:105189:24 BaseNavigationContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:104823:28 ThemeProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:109127:21 NavigationContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:109033:26 Navigation@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:103087:46 App@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:102566:45 RCTView View StripeProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:270749:24 LoadingProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:209817:24 TaskProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:210456:24 AuthProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:161287:24 Index@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:1417:26 RCTView View RCTView View AppContainer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=se.nemasstockholm.app:69746:36 LOG undefined LOG Getting user LOG Setting up listeners {"created": {"nanoseconds": 776000000, "seconds": 1643263277}, "dateAndTime": "2022-01-27T07:55:32.000+01:00", "estimatedTime": "21", "expertConnectyCubeId": 5323737, "images": ["https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148450", "https://storage.googleapis.com/nemas-dev.appspot.com/RDUIVDk0W3fKydrIbncxmg15CSz1/TA221274558-94089/16432631148461"], "isNotify": true, "paymentDescriptor": "pi_3KMR34PV9mkMumr50NgC1ExG", "price": 5600, "propositionAuthorBusinessName": "viral test", "propositionAuthorEmail": "viralp.coderkube@gmail.com", "propositionAuthorId": "zbUkdGT2YkXongWauF9lDY0a11t2", "propositionAuthorUsername": "Viral p", "propositionId": "PR22127461-34699", "propositionMessage": "Trtrtrtrt", "propositionMotivation": "Fffgfgfgfg", "sessionId": "SE22127461-89435", "status": "paid", "taskAuthorEmail": "kishansutariya.coderkube@gmail.com", "taskAuthorId": "RDUIVDk0W3fKydrIbncxmg15CSz1", "taskAuthorUsername": "Kishan S", "taskDescription": "Hdjdj", "taskId": "TA221274558-94089", "taskTitle": "Check book", "updated": {"nanoseconds": 379000000, "seconds": 1643276023}, "userConnectyCubeId": 5323674} LOG Connect to CC chat 5323737 LOG Connect to CC chat 145A969F8F16CE96C81FF18E1DE71125D66E LOG [Chat] Connect with parameters {"password": "145A969F8F16CE96C81FF18E1DE71125D66E", "userId": 5323737} LOG [Chat] CONNECTED - You are already connected LOG check falseeeeeeeeeeeee LOG dialog occupants 5323674 LOG dialog session ID SE22127461-89435 LOG {"occupants_ids": [5323674], "type": 3} LOG [Request][123] POST https://api.connectycube.com/chat/Dialog.json {"data": {"occupants_ids": "5323674", "type": 3}, "type": "POST", "url": "https://api.connectycube.com/chat/Dialog.json"} LOG dialogs 123 undefined LOG [Request][124] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:21 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][125] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:21 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][126] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T07:55:32.000+01:00 28/01/2022, 15:23:21 LOG Check book 2022-01-27T06:55:32.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][127] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T08:00:22.000+01:00 28/01/2022, 15:23:21 LOG Check booking issue 2022-01-27T07:00:22.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][128] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-25T11:55:25.000+01:00 28/01/2022, 15:23:21 LOG Test for cancel 2022-01-25T10:55:25.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][129] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-19T08:30:53.704+01:00 28/01/2022, 15:23:21 LOG Test 001 2022-01-19T07:30:53.704Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][130] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:21 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][131] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:21 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][132] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:21 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][133] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:21 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][134] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:21 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][135] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][136] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][137] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][138] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][139] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][140] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][141] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:20:16.545+01:00 28/01/2022, 15:23:21 LOG Sad 2022-01-13T05:20:16.545Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG Connecty cube is connected true LOG res undefined LOG Connect to CC chat 5323737 LOG Connect to CC chat 145A969F8F16CE96C81FF18E1DE71125D66E LOG [Chat] Connect with parameters {"password": "145A969F8F16CE96C81FF18E1DE71125D66E", "userId": 5323737} LOG [Chat] CONNECTED - You are already connected LOG Connecty cube is connected true LOG Userprofile {"accountStatus": "activated", "connectyCubeId": 5323674, "created": {"nanoseconds": 620000000, "seconds": 1641989559}, "email": "kishansutariya.coderkube@gmail.com", "expertAccount": "EX22117195-63256", "fcmToken": "fb175TFi3El0p-F1QPHCSR:APA91bGG9uxg5H0Ksxp2-uaGFMF7myeqPva0eNs1qJ0w6RB3qkJJ4a2gsG2szeyLy3gW04fBLuIp3x6kTNQvCdw4KxFhPo8pCKCxClVXGZK3LhNoEg8wJJ8D5IILmnU-efTkVmaQ3R01", "firstName": "Kishan", "isExpert": false, "lastName": "Sutariya", "notificationPreferences": {"account": {"email": true, "push": true}, "chat": {"email": true, "push": true}, "newsletter": {"email": true, "push": true}, "reminders": {"email": true, "push": true}, "tasks": {"email": true, "push": true}}, "onboarding": 0, "profilePic": [], "updated": {"nanoseconds": 143000000, "seconds": 1642663378}, "userDescription": "Test.", "username": "Kishan S"} LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Response][141] {"total": 0} LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"total": 0} LOG Update unread count 61ded1f0bac94b001fa0c9da 0 LOG [Response][141] {"total": 0} LOG Update unread count undefined 0 LOG [Response][141] {"_id": "61ded1f0bac94b001fa0c9da", "admins_ids": [], "created_at": "2022-01-12T13:04:48Z", "description": null, "is_e2ee": false, "is_muted": false, "last_message": "Test 111", "last_message_date_sent": 1642744753, "last_message_id": "61ea4bb19a74b51f1f000000", "last_message_status": null, "last_message_user_id": 5323674, "name": "custom_RDUIVDk0W3fKydrIbncxmg15CSz1", "occupants_count": 2, "occupants_ids": [5323674, 5323737], "photo": null, "pinned_messages_ids": [], "type": 3, "unread_messages_count": 0, "updated_at": "2022-01-21T05:59:13Z", "user_id": 5323737, "xmpp_room_jid": null} LOG CREATED DIALOG {"_id": "61ded1f0bac94b001fa0c9da", "admins_ids": [], "created_at": "2022-01-12T13:04:48Z", "description": null, "is_e2ee": false, "is_muted": false, "last_message": "Test 111", "last_message_date_sent": 1642744753, "last_message_id": "61ea4bb19a74b51f1f000000", "last_message_status": null, "last_message_user_id": 5323674, "name": "custom_RDUIVDk0W3fKydrIbncxmg15CSz1", "occupants_count": 2, "occupants_ids": [5323674, 5323737], "photo": null, "pinned_messages_ids": [], "type": 3, "unread_messages_count": 0, "updated_at": "2022-01-21T05:59:13Z", "user_id": 5323737, "xmpp_room_jid": null} LOG Save to session dialog id 61ded1f0bac94b001fa0c9da LOG Save dialog id in session response {"config": {"adapter": [Function xhrAdapter], "baseURL": "https://nemas-dev.ey.r.appspot.com/", "data": "{\"connectyCubeDialog\":\"61ded1f0bac94b001fa0c9da\"}", "headers": {"Accept": "application/json, text/plain, /", "Authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNhYTE0OGNkMDcyOGUzMDNkMzI2ZGU1NjBhMzVmYjFiYTMyYTUxNDkiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vbmVtYXMtZGV2IiwiYXVkIjoibmVtYXMtZGV2IiwiYXV0aF90aW1lIjoxNjQzMjYxNzgzLCJ1c2VyX2lkIjoiemJVa2RHVDJZa1hvbmdXYXVGOWxEWTBhMTF0MiIsInN1YiI6InpiVWtkR1QyWWtYb25nV2F1RjlsRFkwYTExdDIiLCJpYXQiOjE2NDMzNzk1ODksImV4cCI6MTY0MzM4MzE4OSwiZW1haWwiOiJ2aXJhbHAuY29kZXJrdWJlQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInZpcmFscC5jb2Rlcmt1YmVAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.snT-LRSzzxkLkoZthqQQR3XiuspObL3Z7YAJwylLp1VxHlzQbUrpLOr0PJ96z-i-xSS2wCZAjIMrqpm-NOVkLZ1jkMHSQwgGY0CX7YgL0DYhKpfef2TS_AtzJhYgRDhlB8EhbN8XfKIA9tTrj0tyusNuXUgMM0JeMh8qlb4Bd02cy1xHtTjEcY2qmGS7R8N4w570gGoptLKUsiVLMLEnwymQZSGB9ULKz-YHwtuMFlqtE5yXjd2RERd2XYgCh0yUcvITlZgfwXscAc2cPzEXu4D3LEfWhlQyPiu_VgL1Gl9UeBCLCr75IuiS9u6JYsoLpz2rEtRrx-1md6EGONk0Aw", "Content-Type": "application/json"}, "maxBodyLength": -1, "maxContentLength": -1, "method": "put", "timeout": 0, "transformRequest": [[Function transformRequest]], "transformResponse": [[Function transformResponse]], "url": "session/SE22127461-89435", "validateStatus": [Function validateStatus], "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN"}, "data": {"status": "OK"}, "headers": {"access-control-allow-credentials": "true", "access-control-allow-origin": "nemasapp.com", "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"", "content-length": "15", "content-security-policy": "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", "content-type": "application/json; charset=utf-8", "date": "Fri, 28 Jan 2022 14:23:46 GMT", "etag": "W/\"f-v/Y1JusChTxrQUzPtNAKycooOTA\"", "expect-ct": "max-age=0", "referrer-policy": "no-referrer", "server": "Google Frontend", "strict-transport-security": "max-age=15552000; includeSubDomains", "vary": "Origin, Accept-Encoding", "x-cloud-trace-context": "fa64e0bcc97cbfcb42f315bd520c2e0e;o=1", "x-content-type-options": "nosniff", "x-dns-prefetch-control": "off", "x-download-options": "noopen", "x-frame-options": "SAMEORIGIN", "x-permitted-cross-domain-policies": "none", "x-xss-protection": "0"}, "request": {"DONE": 4, "HEADERS_RECEIVED": 2, "LOADING": 3, "OPENED": 1, "UNSENT": 0, "_aborted": false, "_cachedResponse": undefined, "_hasError": false, "_headers": {"accept": "application/json, text/plain, /", "authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNhYTE0OGNkMDcyOGUzMDNkMzI2ZGU1NjBhMzVmYjFiYTMyYTUxNDkiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vbmVtYXMtZGV2IiwiYXVkIjoibmVtYXMtZGV2IiwiYXV0aF90aW1lIjoxNjQzMjYxNzgzLCJ1c2VyX2lkIjoiemJVa2RHVDJZa1hvbmdXYXVGOWxEWTBhMTF0MiIsInN1YiI6InpiVWtkR1QyWWtYb25nV2F1RjlsRFkwYTExdDIiLCJpYXQiOjE2NDMzNzk1ODksImV4cCI6MTY0MzM4MzE4OSwiZW1haWwiOiJ2aXJhbHAuY29kZXJrdWJlQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInZpcmFscC5jb2Rlcmt1YmVAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.snT-LRSzzxkLkoZthqQQR3XiuspObL3Z7YAJwylLp1VxHlzQbUrpLOr0PJ96z-i-xSS2wCZAjIMrqpm-NOVkLZ1jkMHSQwgGY0CX7YgL0DYhKpfef2TS_AtzJhYgRDhlB8EhbN8XfKIA9tTrj0tyusNuXUgMM0JeMh8qlb4Bd02cy1xHtTjEcY2qmGS7R8N4w570gGoptLKUsiVLMLEnwymQZSGB9ULKz-YHwtuMFlqtE5yXjd2RERd2XYgCh0yUcvITlZgfwXscAc2cPzEXu4D3LEfWhlQyPiu_VgL1Gl9UeBCLCr75IuiS9u6JYsoLpz2rEtRrx-1md6EGONk0Aw", "content-type": "application/json"}, "_incrementalEvents": false, "_lowerCaseResponseHeaders": {"access-control-allow-credentials": "true", "access-control-allow-origin": "nemasapp.com", "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"", "content-length": "15", "content-security-policy": "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", "content-type": "application/json; charset=utf-8", "date": "Fri, 28 Jan 2022 14:23:46 GMT", "etag": "W/\"f-v/Y1JusChTxrQUzPtNAKycooOTA\"", "expect-ct": "max-age=0", "referrer-policy": "no-referrer", "server": "Google Frontend", "strict-transport-security": "max-age=15552000; includeSubDomains", "vary": "Origin, Accept-Encoding", "x-cloud-trace-context": "fa64e0bcc97cbfcb42f315bd520c2e0e;o=1", "x-content-type-options": "nosniff", "x-dns-prefetch-control": "off", "x-download-options": "noopen", "x-frame-options": "SAMEORIGIN", "x-permitted-cross-domain-policies": "none", "x-xss-protection": "0"}, "_method": "PUT", "_perfKey": "network_XMLHttpRequest_https://nemas-dev.ey.r.appspot.com/session/SE22127461-89435", "_performanceLogger": {"_closed": false, "_extras": [Object], "_pointExtras": [Object], "_points": [Object], "_timespans": [Object]}, "_requestId": null, "_response": "{\"status\":\"OK\"}", "_responseType": "", "_sent": true, "_subscriptions": [], "_timedOut": false, "_trackingName": "unknown", "_url": "https://nemas-dev.ey.r.appspot.com/session/SE22127461-89435", "readyState": 4, "responseHeaders": {"Access-Control-Allow-Origin": "nemasapp.com", "Alt-Svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"", "Content-Length": "15", "Content-Type": "application/json; charset=utf-8", "Date": "Fri, 28 Jan 2022 14:23:46 GMT", "Etag": "W/\"f-v/Y1JusChTxrQUzPtNAKycooOTA\"", "Server": "Google Frontend", "Strict-Transport-Security": "max-age=15552000; includeSubDomains", "Vary": "Origin, Accept-Encoding", "access-control-allow-credentials": "true", "content-security-policy": "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", "expect-ct": "max-age=0", "referrer-policy": "no-referrer", "x-cloud-trace-context": "fa64e0bcc97cbfcb42f315bd520c2e0e;o=1", "x-content-type-options": "nosniff", "x-dns-prefetch-control": "off", "x-download-options": "noopen", "x-frame-options": "SAMEORIGIN", "x-permitted-cross-domain-policies": "none", "x-xss-protection": "0"}, "responseURL": "https://nemas-dev.ey.r.appspot.com/session/SE22127461-89435", "status": 200, "timeout": 0, "upload": {}, "withCredentials": true}, "status": 200, "statusText": undefined} LOG check params {"dialogs_ids": [",61ded1f0bac94b001fa0c9da"]} LOG [Request][142] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [",61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check maincounts_chat >>> 0 LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG Bygg, Renovering & Hemmafix Selected: false LOG IT, Hemelektronik & Smarta hem Selected: false LOG Inredning & hemdesign Selected: false LOG Luft & Värme Selected: false LOG Vitvaror & Hushållsmaskiner Selected: false LOG check user viral response tasks >>>>>> 23 LOG [Request][143] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:46 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][144] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:46 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][145] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T07:55:32.000+01:00 28/01/2022, 15:23:46 LOG Check book 2022-01-27T06:55:32.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][146] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T08:00:22.000+01:00 28/01/2022, 15:23:46 LOG Check booking issue 2022-01-27T07:00:22.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][147] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-25T11:55:25.000+01:00 28/01/2022, 15:23:46 LOG Test for cancel 2022-01-25T10:55:25.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][148] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-19T08:30:53.704+01:00 28/01/2022, 15:23:46 LOG Test 001 2022-01-19T07:30:53.704Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][149] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][150] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][151] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][152] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][153] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][154] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][155] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][156] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][157] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][158] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][159] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][160] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:20:16.545+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:20:16.545Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][161] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-20T10:45:38.989+01:00 28/01/2022, 15:23:46 LOG 3D check@ 2022-01-20T09:45:38.989Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][162] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-12T14:05:01.764+01:00 28/01/2022, 15:23:46 LOG HD 2022-01-12T13:05:01.764Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG check params {"dialogs_ids": ["61ded1f0bac94b001fa0c9da,"]} LOG [Request][163] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da,"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check maincounts_chat >>> 0 LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG check categoriesList viral >>>>> false LOG Bygg, Renovering & Hemmafix Selected: false LOG IT, Hemelektronik & Smarta hem Selected: false LOG Inredning & hemdesign Selected: false LOG Luft & Värme Selected: false LOG Vitvaror & Hushållsmaskiner Selected: false LOG check user viral response tasks >>>>>> 23 LOG [Request][164] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:46 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][165] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-28T15:41:36.612+01:00 28/01/2022, 15:23:46 LOG Design check 2022-01-28T14:41:36.612Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][166] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T07:55:32.000+01:00 28/01/2022, 15:23:46 LOG Check book 2022-01-27T06:55:32.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][167] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-27T08:00:22.000+01:00 28/01/2022, 15:23:46 LOG Check booking issue 2022-01-27T07:00:22.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][168] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-25T11:55:25.000+01:00 28/01/2022, 15:23:46 LOG Test for cancel 2022-01-25T10:55:25.000Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][169] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-19T08:30:53.704+01:00 28/01/2022, 15:23:46 LOG Test 001 2022-01-19T07:30:53.704Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][170] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][171] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][172] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][173] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][174] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-14T10:40:13.514+01:00 28/01/2022, 15:23:46 LOG Sdasd 2022-01-14T09:40:13.514Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][175] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][176] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][177] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][178] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][179] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": [undefined]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][180] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:10:21.618+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:10:21.618Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][181] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-13T06:20:16.545+01:00 28/01/2022, 15:23:46 LOG Sad 2022-01-13T05:20:16.545Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][182] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-20T10:45:38.989+01:00 28/01/2022, 15:23:46 LOG 3D check@ 2022-01-20T09:45:38.989Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined LOG [Request][183] GET https://api.connectycube.com/chat/Message/unread.json {"data": {"dialogs_ids": ["61ded1f0bac94b001fa0c9da"]}, "url": "https://api.connectycube.com/chat/Message/unread.json"} LOG check Date >>>>> 2022-01-12T14:05:01.764+01:00 28/01/2022, 15:23:46 LOG HD 2022-01-12T13:05:01.764Z LOG IS EXPERT? false LOG check ProfileSlice expert undefined

ccvlad commented 2 years ago

First of all - fix the request GET https://api.connectycube.com/chat/Message/unread.json. You often ask server. Sometimes request contains [undefined] instead array with dialogs ids.

Don't see a request to get messages in logs - https://developers.connectycube.com/js/messaging?id=chat-history

LOG [Chat] CONNECTED - You are already connected - the chat is already connected and you call the connection again

Also don't see any sent/received chat messages.

UdjinStolboviy commented 2 years ago

Hello. This problem has not been resolved. Our company also has a bug. Please help with the solution. id 5750

DaveLomber commented 1 year ago

Could someone confirm whether this issue is still actually? We will follow up