Reputation: 3481
I want to have push message functionality for a libgdx game so I was thinking about using Google Firebase Cloud Messaging Api. Problem is I don't know any iOS so I want Java client on iOS end. Is there such a client? Or is there some better alternative than using FCM if I just want to be able to send messages from a server to libgdx cross-platform Java game?
I don't need to be able to receive messages when game isn't active, i.e. in the background.
Upvotes: 2
Views: 413
Reputation: 1791
FCM is the way to go on Android, on iOS you should use Apple's service (APNs) directly. The advantage is that you need no third party software in your iOS project and you can work with the bindings provided by RoboVM.
You can find my code for using FCM on Android and APNs on iOS within your libgdx game with some further documentation on Github.
Upvotes: 2