Pinpoint push notifications on Android

0

Using Pinpoint and Amplify I've been able to send push notifications to an Android device running my app, but I'm not completely happy with how it works.

If I send a notification while the phone is in sleep mode, the screen does wake up to show it, although at a very low brightness level, which is not something I intentionally configured.

However if I send the notification while the device is awake, there is no visible indication that a notification has been received, whether my app is running or not. The only way I know it worked is if I dig into the notification history.

I'd also like to be able to put my own handler into my app to receive notifications. In the old days when we used to hand-roll our notifications we'd have our own FirebaseMessagingService, but the instructions for setting this up with Pinpoint directed me to register "com.amplifyframework.pushnotifications.pinpoint.FCMPushNotificationService" as the message handler. Can I replace this with my own handler or a subclass?

Thanks.

Frank
asked a year ago89 views
No Answers

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