question

ShantimohanElchuri-8757 avatar image
0 Votes"
ShantimohanElchuri-8757 asked RobCaplan edited

How to set Alarms in a Xamarin Forms app that works with AndroidX too

I have to set event alarms at a given date and time in a Xamarin Forms solution. Is there any good and simple way to accomplish it that works with VS 2019 v 16.10, Xamarin.Forms v 5.0, AndroidX and iOS v 14.5.

ThanQ...

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, ShantimohanElchuri. Xamarin.Forms is an open-source UI framework. For this event function, we need achieve it on each platform using the native code. And you could call the function method in the shared project with DependencyService.

0 Votes 0 ·

1 Answer

ShantimohanElchuri-8757 avatar image
0 Votes"
ShantimohanElchuri-8757 answered

I have used Shiny 2.0 for Xamarin Forms. I also uploaded a XF solution ShinySamples to GitHub.

This is tested in Android & iOS and works with AndroidX. Also the notifications are not cleared on rebooting on android.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.