Hey, is there any way to get push notifications to...
# compose-desktop
j
Hey, is there any way to get push notifications to my Compose Multiplatform app on desktop JVM target?
m
j
This is for showing notifications, but I am looking for a push service, which supports desktop platforms, like firebase does it for Android. Or would I have to implement a pull-based solution with custom server somewhere?
a
This channel really isn’t the best place to ask this. Maybe search for a push notification service with a Kotlin or Java SDK.
m
@johannes I think you can do it on macOS because Apple provide such a service. I don't think Microsoft provide any such equivalent for desktop Windows apps.
And of course there's no equivalent for Linux. However you can just have your desktop app connect to an MQ broker you run yourself, or similar. There's no deep reason you have to delegate running it to the cloud
t
@johannes Maybe you could use the Firebase Cloud Messaging C++ library, calling the C++ code from Kotlin like for example laid out here