You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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!
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
The text was updated successfully, but these errors were encountered: