TatankaConCube
TatankaConCube
sorry for the late answer(( have you had any success there? we checked the issue on all our samples and can reproduce nothing similar
> I/flutter (28267): {"errors":{"base":["Forbidden. Need user."]}} means that if you try to request dialogs using an empty session (without a user), you should call `signIn` before, or create the session...
the latest log is completely unreadable, but I tried... According to the provided log, I can see that the session was created without the user. Let see step by step:...
when you need to log in the the Connectycube with the saved before user, e.g. after restarting the app or etc.
please see the logs more carefully, Your request for subscription on the push notification (f4737e89-7522-40ef-a74c-2b95738d2e59) started before the response (476c3d76-3ea0-400b-9fa1-c5ac9f606dfe) for signin received
will check it later You can try to move the string ```dart PushNotificationsManager.instance.init(); ``` after `signIn(user).then((result) {`
you are a little bit mistaken, the state `CubeSessionManager.instance.isActiveSessionValid()` is about the API session, but the error `Check you set participant and login to the chat` can be related to...
I provided the possible reasons for this error [here](https://github.com/ConnectyCube/connectycube-flutter-samples/issues/296#issuecomment-1702778606). Can you reproduce this error on our Chat sample? Sorry, but we can't see your code and the log is filtered...
> i am sure that login gets expired no, the chat connection doesn't have limits for a lifetime. use this [listener](https://developers.connectycube.com/flutter/messaging?id=connect-to-chat) for listening the chat connection state changes
> ENABLE AUTOMATIC NOTIFICATIONS FOR OFFLINE USERS IN CHAT means to enable push notifications if a user is offline and receives a new chat message > ENABLE FCM "NOTIFICATION" PUSH...