Push Notifications APIs on Android

Hi,

I’m very newbie on this group, but I got pretty excited about it.
I have a very simple app that I think would be perfect to use the Swift Android SDK.
But it relies heavily on notifications.

Do I have to rely on Android’s own API’s for that, or can I simply use the same delegates for notifications that I have on my Mac app?

Welcome! What do you mean by notifications? NotificationCenter? UserNotification? Push notifications?

Sorry, I should have said that before: push notifications, like, firebase cloud messages.

Apple-specific frameworks like UserNotifications are not part of the Swift SDK for Android, which just includes the lower-level cross-platform core frameworks like Foundation, Observation, Dispatch, and the like.

For integrating with Android functionality like this, you'll need to bridge to the equivalent APIs, which are generally implemented in Java or Kotlin. This is one of the integration frameworks that Skip offers in its SkipFirebase messaging module. These are all open-source, so you can see how we implement it in SkipFirebaseMessaging.swift in case you want to tackle the (daunting) task yourself.