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
質問済み 1年前94ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ