From fd05406e860274783579d3751940bfcb04d16bd2 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Wed, 3 Jan 2024 01:50:19 +0400 Subject: [PATCH] feat: To Snackbar UI instead Alert. --- Maui.Android.InAppUpdates.sln.DotSettings | 2 + README.md | 2 +- sample/MainPage.xaml | 1 + sample/MainPage.xaml.cs | 18 +++++- src/libs/Directory.Build.props | 2 +- .../AndroidInAppUpdatesOptions.cs | 32 +++------- .../Android/AppUpdateSuccessListener.cs | 4 +- .../Platforms/Android/DefaultUserInterface.cs | 63 ++++++++++--------- .../Platforms/Android/Handler.cs | 6 +- .../Android/InstallStateUpdatedListener.cs | 12 ++-- 10 files changed, 70 insertions(+), 72 deletions(-) create mode 100644 Maui.Android.InAppUpdates.sln.DotSettings diff --git a/Maui.Android.InAppUpdates.sln.DotSettings b/Maui.Android.InAppUpdates.sln.DotSettings new file mode 100644 index 0000000..1b6cb1a --- /dev/null +++ b/Maui.Android.InAppUpdates.sln.DotSettings @@ -0,0 +1,2 @@ + + True \ No newline at end of file diff --git a/README.md b/README.md index 18d3230..65672f3 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ NuGet package that implementing Android In-App Updates for MAUI with debugging c # Usage - Add NuGet package to your project: ```xml - + ``` - Add the following to your `MauiProgram.cs` `CreateMauiApp` method: ```diff diff --git a/sample/MainPage.xaml b/sample/MainPage.xaml index 4d2b957..8ff79f2 100644 --- a/sample/MainPage.xaml +++ b/sample/MainPage.xaml @@ -18,6 +18,7 @@