Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin vs FirebasePushNotificationPlugin #161

Open
stesvis opened this issue Jan 25, 2021 · 6 comments
Open

This plugin vs FirebasePushNotificationPlugin #161

stesvis opened this issue Jan 25, 2021 · 6 comments

Comments

@stesvis
Copy link

stesvis commented Jan 25, 2021

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?

@Px7-941
Copy link
Contributor

Px7-941 commented Feb 3, 2021

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.

@gordonsaxby
Copy link

@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?

@Px7-941
Copy link
Contributor

Px7-941 commented May 25, 2021

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

@euquiq
Copy link

euquiq commented Jul 20, 2021

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.

@Px7-941
Copy link
Contributor

Px7-941 commented Jul 28, 2021

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.

@stesvis
Copy link
Author

stesvis commented Aug 17, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants