Firebase Push notification

Vuyiswa Maseko 351 Reputation points

Good Day

As you know a lot of HUAWEI phones don't support Firebase Push notification . Is there a way i can check in Xamarin forms if a phone support Firebase push so that i implement a different Push for that phone programmatically ?


A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,312 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,826 Reputation points Microsoft Vendor


    GoogleApiAvailability in Xamarin.GooglePlayServices.Base nugget packages is used to check for the presence of Google Play Services:

    Verify Google Play Services in OnCreate method of MainActivity class

    int resultCode = GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable (this);  

    Refer to

    More details :

    Best Regards,
    Wenyan Zhang

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful