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
질문됨 일 년 전94회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠