-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Receiving messages from Firebase while app is killed #113
Comments
Have you tried making a service? That way you have C++ code still alive when the app is shut down? |
Yes, I've made a use of services. But in this case, I do not need (or able) to use QtFirebase's wrapper around messaging. Which in my use case, is not a problem. Maybe an idea, to prepare an infrastructure to have this ability by default in QtFirebase. |
Yes that would be useful - let me know if you come up with something! |
@MasterMind2k - just to make sure; are you using this |
Hmm, not sure. I do have somewhere in my memory that I've tried it. Will retry anyway and post results. |
During development I've identified that app, if killed, will not receive messages to C++ code if app is not running (with some moment to think about it, it makes sense actually :) ).
I have a use case that off the shelve notification bubble delivered by Firebase implementation won't do.
I am just opening this ticket to see if anyone has similar issues. I've cut some corners by completely ignoring Firebase C++ SDK and written a small layer in Java and custom integration API in the C++ parts.
Another thing that I realised is, that C++ written service cannot receive firebase messages. Since you need an Activity object when registering firebase app.
So, to sum this up. The use case is:
The text was updated successfully, but these errors were encountered: