Push Notification xamarin Forms

aydoğan ilhan 1 Reputation point


I need to send push notifications in my cross platform project.
I want to send the value entered by the user as a notification to the devices where the other application is installed when the button is pressed.
What kind of way should I follow, which service apis should I use and is there a sample document?
Thank you

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

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor

    Hello @aydoğan ilhan ,

    You couldn't send the notifications to other applications. You can only send the notification to yours.
    When a user presses the button in your APP, you can send messages with your app server, then send messages to the other application via server. The premise is that the two servers can communicate with each other, and you have configured the push notification/Remote notification in the other application (both server side and client side).

    For Xamarin (client side), you could see - Push Notifications in iOS - Xamarin | Microsoft Learn and Firebase Cloud Messaging in Android - Xamarin | Microsoft Learn

    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 comments No comments