User notification via xamarin.forms application

Yannick Nfankou 0 Reputation points
2023-10-25T06:52:25.4033333+00:00

As part of a mobile application development project for using library books.

We have developed a Xamarin.form mobile application allowing users to consult available books and make a rental or reservation.

The application works very well except that we want to add a functionality allowing the user to be notified when the reserved book is available.

We would therefore like to set up a notification system, the example of the Whatsapp application illustrates well what we want to do, i.e. when a notification arrives we have the message in the icon bar and we have a number which increments on the application logo. We would like to have ideas for implementing this approach.

NB. the application, even when closed, must be able to display the notification

To read to you

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

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,191 Reputation points Microsoft External Staff
    2023-10-26T06:43:56.7533333+00:00

    Hello,

    You can do this by Firebase Cloud Messaging.

    we want to add a functionality allowing the user to be notified when the reserved book is available.

    You can add these users to a firebase notication group, when you want to send notification to them, you can use FCM to send messages to this group.

    the application, even when closed, must be able to display the notification.

    FCM send notification by the google play services, you can receive this notification when your application is closed.

    Best Regards,

    Leon Lu


    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.