CrossGeeks/PushNotificationPlugin

This plugin vs FirebasePushNotificationPlugin

Opened this issue · 6 comments

Hi guys i am sorry but at this point I am not sure how this plugin differs from the FirebasePushNotificationPlugin?
https://github.com/CrossGeeks/FirebasePushNotificationPlugin

Is this a newer/better version?

The other (https://github.com/CrossGeeks/FirebasePushNotificationPlugin) repo is for sending push notifications via Firebase Notifications. This plugin here is just an abstraction of the system APIs for APNS and FCM.

@Px7-941 could you clarify your response above please. Are both plugins active (actively being developed)?

Will this plugin work with Firebase notifications, or should I use "FirebasePushNotificationPlugin" for that?

I am just a contributor and yes PRs are usually processed very quickly. Even I use in my daily project work (two Xamarin apps).

I have contributed some improvements to the project recently and have some improvements on the to-do list as well.

To clarify my answer from before a bit more.
This plugin abstracts APNS and FCM on system API level.
Device token and push message handling as an example.

As a developer, I route the device token to my backend and it then sends push messages to Apple (APNS) or to Google Firebase (FCM).

For the other plugin I know too little myself. But what I can see it is designed for the following use. I use Firebase as a proxy for the APNS push messages.

I think that this plugin on iOS sends the APNS device token to Firebase and then issues a FCM token to the developer like on Android, with which you then send the push messages to Firebase Cloud Messaging via your own backend and this is then forwarded to APNS.

Sources:
https://github.com/CrossGeeks/FirebasePushNotificationPlugin/blob/master/docs/FirebaseSetup.md
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in

Hi! @Px7-941 , I am still struggling to understand exactly how this plugin may be better suited than the other one (which seems to be less mantained than this).

Any further clarification is very much welcome:

I need to receive push notifcations on my app (Android / IOS) thru TOPICS.
I need my app user to be able to subscribe / unsuscribe into different topics.

This plugin should cover it ?

Many thanks,
Enrique.

Hi @euquiq ,
Topic based sending is more the question of how to send the push messages. And who takes over the management of the topics.

FCM can work with topics according to the documentation. Then it would be the other plugin.

Until now I had only worked with direct connection with APNS and FCM. Topic logic was implemented in its own backend and the app was provided with an API for subscribing to Topics in addition to device token registration.

AWS Pinpoint, Azure notification hub, OneSignal could also be interesting.

This plugin has two main tasks: Device Token and receiving push notifications from the system API. Everything else is up to the sender and app developer.

Hi @euquiq ,
Topic based sending is more the question of how to send the push messages. And who takes over the management of the topics.

FCM can work with topics according to the documentation. Then it would be the other plugin.

Until now I had only worked with direct connection with APNS and FCM. Topic logic was implemented in its own backend and the app was provided with an API for subscribing to Topics in addition to device token registration.

AWS Pinpoint, Azure notification hub, OneSignal could also be interesting.

This plugin has two main tasks: Device Token and receiving push notifications from the system API. Everything else is up to the sender and app developer.

Overall since @rdelrosario contributes to both, it looks like this plugin is maintained, while the other one hasn't been updated in a year. Is it because it didn't need any updates, or is it just dropped?