Xamarin Forms Push notifications on Chinese ROMS

Raymond Dillon 0 Reputation points
2023-09-05T16:34:02.3533333+00:00

I have a Xamarin Forms app with push notifications serviced through Azure Notification Hubs and FCM.

All working fine on all states - foreground and background.

Most devices work OK with the app killed as well - however, on Oppo and TCL devices the notifications wont come through when the app is killed. I've read that certain manufacturers kill the background thread on "swipe up to close" on the app. Is there any workaround for this?

Thanks!

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
200 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,158 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 17,591 Reputation points Microsoft Employee
    2023-09-07T03:03:55.03+00:00

    From Azure Notification Hub standpoint- Successful notifications mean simply that push notifications have been delivered to the external PNS (for example, APNs for iOS and macOS or FCM for Android devices). It is the responsibility of the PNS to deliver the notifications to target devices. Typically, the PNS does not expose delivery metrics to third parties.

    You may take a look at the doc Diagnose dropped notifications in Azure Notification Hubs - this article identifies why notifications might get dropped or not be received by devices. It also explains how to determine the root cause.

    Ref: Push notifications with Azure Notification Hubs: Frequently asked questions

    0 comments No comments