-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conflict with FCM which breaks one of the packages #37
Comments
Hi, On iOS TalkJS uses APNS for push notifications, and cannot use Firebase. So: Keep in mind that doing so disables the push notifications for TalkJS. |
Actually, it's impossible because I need notifications. Maybe you have other thoughts? Do I have to replace all my FCM with APNS? |
If replacing FCM with APNS is an option for you, then it's absolutely the way to go |
However, maybe there are some other decisions? Actually as I see I can get notifications in foreground but And I am sorry for misleading, after some research I found that the following code doesn't break FCM. But only I add talkjs again to my project,
I'm not well in it, so could you please help me and clarify if it can be fixed? Or what do I have to do? Give me the direction, please. Thanks |
Hey there, my name is Victor. I'm a developer here at TalkJS. The setting you highlighted that disables swizzling is only necessary if you DO NOT need Firebase messaging for iOS push notifications. link. So in your case, you should remove this from your Regarding, |
Hi Victor @vickz84259, This is full data from
|
Give me a moment as I confirm the exact scenario under which this happens.
Nope. I need the json data your server sends to Firebase. Not what Firebase sends to the device. |
Thanks Victor. Backend developer told me that he used fb api to form the request. He gave me this code of the forming. And he will try to find the way to log json api tomorrow if it is necessary. But maybe now it will be useful.
|
First of all my apologies. When I said:
I was wrong. My assumption was that that key disables swizzling even for the FirebaseMessaging module. However it onlly disables swizzling for Regarding You can read more here: firebase/flutterfire#9381 and https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943360 |
But as you can see from my comment the backend developer enabled both I can say the same about swift method in
I see the printed message in console when there are no talkjs package in my app. And the message stops showing when I add it. So it seems a problem in blocking background notification methods by the talkjs-flutter package. Could you tell me, what you think about it? |
Hi Victor @vickz84259, could you please tell me the status? It's really urgent one |
Sorry I hadn't seen your follow up comment. Let me investigate further. I'll get back to you once I find the source of the bug. |
@vickz84259 Hi Victor, |
@vickz84259 Hello, Victor! Any updates on this issue? |
Hi,
thank you for the project!
I need firebase cloud messaging to get notifications in background.
But it didn't work because of needed settings by talkjs-flutter project
flutter_apns.disable_swizzling: true
If I remove it, there is a problem
Firebase PlatformException(channel-error, unable to establish connection on channel., null, null)
It breaks the key feature in my application.
Please, help me to fix it. It's really urgent.
Thank you!
The text was updated successfully, but these errors were encountered: