Skip to content
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

[FEATURE REQUEST]: Investigate custom export template for Firebase Cloud Messaging #230

Open
WolfgangSenff opened this issue Sep 10, 2021 · 3 comments
Labels
enhancement New feature or request Hacktoberfest

Comments

@WolfgangSenff
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We currently cannot support the Firebase Cloud Messaging API simply because we do not have a custom export template that provides for notifications. The notification channel has to be opened up via the actual Android/iOS app, not the Godot runtime, so it requires the custom template.

Describe the solution you'd like
I'd like to see us publish two custom export templates that allow for push notifications to be sent to devices and handled through the game. This can probably be done either through a JavaScript call, or possibly with a runtime argument to the game, but this is something which needs to be researched.

If possible, I would really like to be able to provide a website or something on GitHub (perhaps a page) that can generate the custom template based on whatever version they are requesting.

Describe alternatives you've considered
I've considered implementing the same thing via GDScript and a plugin, but it seems it might be impossible due to requiring direct access to the app bundles themselves.

Additional context
https://docs.godotengine.org/en/stable/development/compiling/compiling_for_android.html#building-the-export-templates
https://godotengine.org/qa/17987/export-templates
https://godotengine.org/qa/7603/android-push-notifications

@WolfgangSenff WolfgangSenff added the enhancement New feature or request label Sep 10, 2021
@TIBI4
Copy link

TIBI4 commented Aug 28, 2023

I have been using DrMoriarty's implementation for FCM and works like a charm.

@WolfgangSenff
Copy link
Collaborator Author

I've actually been thinking about this recently. I don't want to take that one directly, at least not without asking the person first, but secondly, I don't even know if it actually makes sense in our library, since ours is designed to support only the features which are inherently cross-platform, and FCM is inherently not cross-platform. So I'm still thinking about it. I'm leaving this open and really appreciate the suggestion and link, and may ask DrMoriarty what his thoughts are even. Thanks!

@myselfuser1
Copy link

Watch this, will save a lot of time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants