SDK that sends push notifications

27 views
Skip to first unread message

Sakis Kaliakoudas

unread,
Oct 18, 2017, 9:12:22 AM10/18/17
to android-gcm
Hello,

I am writing an SDK that I want to deliver push notifications to. Is that possible?

Once I get a firebase token from the device via FirebaseInstanceIdService is it possible to register that token with our backend and then send messages to that particular firebase token, regardless of which application it's being sent to? (as the sdk may be in multiple applications).


Cheers,
Sakis

Diego Giorgini

unread,
Oct 19, 2017, 12:48:35 AM10/19/17
to andro...@googlegroups.com
yes. use FirebaseInstanceId.getInstance().getToken("your-project-number", "FCM");
This might change in the future but if you keep an eye on the release notes / javadoc
we will explain the changes required if any change is required.

More complex is receiving the message.
The app can have only 1 message receiver.

I suggest you document your customer to create a FirebaseMessaging receiver, and inside onMessageReceived(message) they can call a method like processMessageWithLibraryX(message).

 


Cheers,
Sakis

--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/bddda9f9-8cc2-4105-a9b1-e2062f4393a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Massimiliano

unread,
May 1, 2024, 8:10:48 PM (9 days ago) May 1
to android-gcm
MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
LOAN DEAL
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+44 7529 555638
Reply all
Reply to author
Forward
0 new messages