AWS SNS FCM/GCM "direct_boot_ok" property support for push notifications

0

I utilize AWS SNS for sending push notifications to an Android application. I want to be able to send push notifications to the android app immediately after device boot and before the security pin has been entered. The capability to do this is fully supported by FCM/GCM by adding an additional property to the push notification request:

{"direct_boot_ok": true}

See: Firebase documentation for more details on this property.

I am able to successfully trigger this capability when using a REST client to send the push notification, but not when sending the same message payload directly though AWS SNS. Is it possible to have this functionality supported with AWS SNS?

asked 3 months ago36 views
1 Answer
0

Dear Customer, thank you for reaching out us regarding the above query. Kindly note that unfortunately this attribute is not supported with AWS SNS. However, in order to send push notifications to the android app immediately after device boot and before the security pin has been entered, try the following payload on the Pinpoint console

  1. Go to Pinpoint > Project > Test messaging

  2. Select Push notifications, and enter the Device token

  3. Select Push notifications service as FCM

  4. Under 'Message', select 'Raw message' and use the following payload:

    {

     "GCMMessage": {
         "notification": {
             "body": "Test PinPoint",
             "title": "Test PinPoint",
             "direct_boot_ok": true
         }
     }
    

    }

In case you are facing any challenges or any error messages, I would request you to kindly provide a test payload or the SDK/CLI call (with the complete payload) that you are trying, along with any error message or the behaviour observed at your end. Please feel free to add any follow-up query you may have.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions