What are the steps to setup Push Notifications with APN and/or Firebase Cloud Messaging?

vgharris0
Giga Contributor

I'm a Developer very new to Service Now platform.

We're in the early stages of setting-up the Istanbul version of Service Now. We want to use the Push Notification feature along with Email notifications so our Employees can receive and respond to notifications anywhere/anytime. I've reviewed the Service Now documentation and wiki, but I haven't found a step-by-step guide for configuring Service Now's Push Notification to work with both Apple and Android devices.

So far, I know that Apple uses Apple Push Notification (APN) and Google uses Firebase Cloud Messaging (Firebase, formerly called Google Cloud Messaging). I also know that in our instance, you have to make the Notification System Push Admin, Push Notification, and Push Feedback plugins active.

To avoid configuration errors, performance issues, or causing Service Now to break, can anyone provide a step-by-step guide on how to setup push notifications with both APN and Firebase? If Firebase can push messages to both devices using Service Now, then a step-by-step guide on setting-up just Firebase to do Push Notifications would help too.

Thanks in advance for the help.  

4 REPLIES 4

Rafa4
Kilo Contributor

Hey there!!

Have you managed to figure out how to push notifications from SN via firebase? If so, please share the info with me!

Thanks a lot.

Siva Sandilya
Kilo Contributor

Hi ,

 

Please try our servicenow app for firebase integration.

 

Thanks,

Sandilya.

David Hadwin2
Tera Contributor

Hi @vgharris0 ,

Did you ever get your question answered? This is no "step-by-step" guide, but should give you enough to follow along. Each of these parts now have their own doc pages.

  • Create the Push Application (including obtaining the required Google or Apple information to fill this out)
  • Create a Push Message Content
  • Create a Push Message (using the Push Message Content)
  • Create a Push Notification (this is the trigger when/who/what)
  • In the Push Application, under Push Default Registration Related List, link it to the Push Notification above (OPTIONAL)
  • In your custom app, create an install record when the user accepts notifications using this API
  • If default Push Notification Registration isn't set up, make sure the users have subscribed to your  custom push notification. (THIS IS OFTEN MISSED)

Finally, all you should have to do is trigger the notification (via whatever trigger mechanism you set up).

However, currently, our team is experiencing difficulty using Firebase Cloud Messaging (FCM) to deliver to Apple users as well (though that's supposed to be a feature available through FCM) and Apple Push Notifications (APN) didn't seem to work for us either. So now we only currently can push to Androids, though it must be said we are using Flutter for our app.

Hope that helps...however late...

Hello Dadid, how are you? Were you able to receive push notifications with APN? I'm having the same problem with React Native.