-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeps in connecting status in IOS #58
Comments
I am having the same issue on android, so if you find a fix for this please let me know :D And have you also gone over these steps? https://github.com/chinloyal/pusher_client#for-ios |
I fixed it for my application - forked the code and made some tweaks. Reverted to older PusherSwift (from https://github.com/thijskuilman/pusher_client). The newer versions of PusherSwift do not work with non-Pusher versions - it only works with the official plugin. Please let me know if you need help. |
Hello!
Would you mind sharing the fixed version with me?
Some small git project or a zipped version?
Also a small question, would I need to disable anything with cors. When
using an app?
With kind regards,
Jasper van Dijk
Op ma 14 nov. 2022 om 23:32 schreef Ayo Adesugba ***@***.***>:
… I fixed it for my application - forked the code and made some tweaks.
Reverted to older PusherSwift (from
https://github.com/thijskuilman/pusher_client).
The newer versions of PusherSwift do not work with non-Pusher versions -
it only works with the official plugin. Please let me know if you need help.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBIXUOGH5PL3HWOIYUVDKDWIK4WDANCNFSM6AAAAAARHZ5ZLA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey there, this is what I get when I subscribe to a channel.
|
Flutter doctor:
`Doctor summary (to see all details, run flutter doctor -v):
Logs:
"D/PusherClientPlugin: Event stream listening..." "D/PusherClientPlugin: Pusher initialized" "D/PusherClientPlugin: [connecting]" "D/PusherClientPlugin: [connecting]" flutter: INFO: --> POST https://api.hours.fi/api/users/560/update_token flutter: INFO: content-type: application/json; charset=utf-8 flutter: INFO: {"token":""} flutter: INFO: --> END POST (175-byte body) flutter: INFO: --> GET https://api.hours.fi/api/notifications?page=1&is_paginate=true&per_page=10 flutter: INFO: --> END GET flutter: \^[[38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> flutter: \^[[38;5;12m│ #0 _MainAppState.build.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:hours_flutter/main.dart:169:38)<…> flutter: \^[[38;5;12m│ #1 BlocBuilder.build (package:flutter_bloc/src/bloc_builder.dart:90:57)<…> flutter: \^[[38;5;12m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> flutter: \^[[38;5;12m│ 💡 AuthenticationState=Authenticated(false)<…> flutter: \^[[38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> "D/PusherClientPlugin: Subscribed: user_560" "D/PusherClientPlugin: Event stream cancelled." "D/PusherClientPlugin: Event stream listening..." "D/PusherClientPlugin: [BIND] App\\Events\\WorkUpdate" "D/PusherClientPlugin: Subscribed: private-users_560" "D/PusherClientPlugin: Event stream cancelled." "D/PusherClientPlugin: Event stream listening..." "D/PusherClientPlugin: [BIND] Illuminate\\Notifications\\Events\\BroadcastNotificationCreated" flutter: \^[[38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> flutter: \^[[38;5;12m│ #0 PusherClientHelper.initializePusherClient.<anonymous closure> (package:hours_flutter/src/api/pusher_client.dart:35:14)<…> flutter: \^[[38;5;12m│ #1 PusherClient._eventHandler (package:pusher_client/src/pusher/pusher_client.dart:127:34)<…> flutter: \^[[38;5;12m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> flutter: \^[[38;5;12m│ 💡 previousState: connecting, currentState: connecting<…> flutter: \^[[38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
I'm using physical device iPhone X iOS 15.6
Been stuck for 2 days. Any help or hind is appreciated. Thank you.
The text was updated successfully, but these errors were encountered: