Skip to content

[Desktop]Test FCM does not receive data #35

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

Closed
xdien opened this issue Jan 22, 2019 · 2 comments
Closed

[Desktop]Test FCM does not receive data #35

xdien opened this issue Jan 22, 2019 · 2 comments

Comments

@xdien
Copy link

xdien commented Jan 22, 2019

I have used "Compose notification" to check but didn't receive a notification from firebase and didn't have any other information.
Operating system: linux(gentoo)
Operating system version: gcc version 7.3.0,cmake version 3.13.2
C++ SDK: 5.4.4
I'm not sure if I'm wrong or missing something, looking forward to helping!

Firebase App initializing app __FIRAPP_DEFAULT (default 1).
Initialized Firebase App.
Initialize the Messaging library
Try to initialize Firebase Messaging
Initialized Firebase Cloud Messaging.
Display permission prompt if necessary.
Finished checking for permission.
::firebase::messaging::Subscribe("TestTopic")...
::firebase::messaging::Subscribe("TestTopic") completed as expected
::firebase::messaging::Subscribe("!@#$%^&()")...
ERROR: ::firebase::messaging::Subscribe("!@#$%^&
()") completed with error: 0, Successfully completed as a stub.

@xdien xdien changed the title Test errror Subscribe("TestTopic") completed as expected [Desktop]Test errror Subscribe("TestTopic") completed as expected Jan 22, 2019
@xdien xdien changed the title [Desktop]Test errror Subscribe("TestTopic") completed as expected [Desktop]Test FCM does not receive data Jan 22, 2019
@alexames
Copy link

FCM isn't implemented on desktop, just on iOS and Android, so the functions are all stubbed out. This is so that you can built your app on all three platforms without changing the code. However, on desktop the functions won't do anything.

@xdien
Copy link
Author

xdien commented Jan 23, 2019

Thank you for providing more information. I am intending to write a code for all platforms with Qt. Hopefully firebase will soon be completed on the desktop.

@xdien xdien closed this as completed Jan 23, 2019
@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants