#How can I trigger FCM campaign?

1 messages · Page 1 of 1 (latest)

gray hollow
#

Hey guys, I want to spread a push notification to my entire app user base, both android and iOS. Is there a way to do so?
Also, I didn't quite understand which subscriberId I should put in this case.

spiral osprey
#

Hi @gray hollow

FCM should work for both, if not you can use apns for ios. we support multiple active integration for push channel

  1. Create a new topic:-
    https://docs.novu.co/platform/topics#create-a-topic

  2. Create subscribers using userId (your app userId).
    https://docs.novu.co/platform/subscribers#creating-a-subscriber

  3. Add those subscribers in above topic
    https://docs.novu.co/platform/topics#subscribers-management-in-a-topic

  4. set subscriber credentials
    https://docs.novu.co/channels/push/fcm

  5. Create a notification template with push channel as a step. Make sure you have added fcm credentials in integration store.

  6. Trigger above notification to topic
    https://docs.novu.co/platform/topics#sending-a-notification-to-a-topic

gray hollow
#

@spiral osprey so i need to create a subscriberId for each device from my user base?

spiral osprey
#

No, create subscriber once and then set credential for that subscriber for every device that subscriber is logged in

gray hollow
#

Can I create a subscriber from Novu Cloud console?