diff --git a/Mopups/Mopups.Maui/Mopups.csproj b/Mopups/Mopups.Maui/Mopups.csproj
index 1b31ab5..916a839 100644
--- a/Mopups/Mopups.Maui/Mopups.csproj
+++ b/Mopups/Mopups.Maui/Mopups.csproj
@@ -2,8 +2,8 @@
- net8.0;net8.0-maccatalyst;net8.0-ios;net8.0-android34.0
- $(TargetFrameworks);net8.0-windows10.0.19041.0
+ net10.0;net10.0-maccatalyst;net10.0-ios;net10.0-android
+ $(TargetFrameworks);net10.0-windows10.0.19041.0
true
@@ -17,7 +17,7 @@
21.0
11.0
13.1
- 10.0.17763.0
+ 10.0.19041.0
true
@@ -27,7 +27,7 @@
Tyson Hooker,Maksym Koshovyi,Aswin P G, Kirill Lyubimov, Martijn Van Dijk, Shane Neuville
$(CompanyName)
Mopups;Popups;Maui;rg;Xamarin;ios;android;Windows;MacOS;Mopups;Dialogs;macos;windows
- 1.3.3
+ 1.4.0
Mopups (Maui Popups)
Added in several fixes from the community (THANKYOU!)
True
@@ -38,66 +38,68 @@
AnyCPU
True
-
+
AnyCPU
True
-
+
AnyCPU
True
False
-
+
AnyCPU
True
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
AnyCPU
False
-
+
True
-
+
True
-
+
r8
True
True
True
-
+
True
True
True
-
+
+
+
diff --git a/Mopups/Mopups.Maui/Platforms/Android/Impl/AndroidMopups.cs b/Mopups/Mopups.Maui/Platforms/Android/Impl/AndroidMopups.cs
index 46a2e3c..215decd 100644
--- a/Mopups/Mopups.Maui/Platforms/Android/Impl/AndroidMopups.cs
+++ b/Mopups/Mopups.Maui/Platforms/Android/Impl/AndroidMopups.cs
@@ -43,8 +43,9 @@ public Task AddAsync(PopupPage page)
{
HandleAccessibility(true, page.DisableAndroidAccessibilityHandling, page);
- var mainPage = (Element)MauiApplication.Current.Application.Windows[0].Content;
- mainPage.AddLogicalChild(page);
+ page.Parent = IPlatformApplication.Current.Application.Windows[0].Content as Element;
+ //var mainPage = (Element)MauiApplication.Current.Application.Windows[0].Content;
+ //mainPage.AddLogicalChild(page);
var handler = page.Handler ??= new PopupPageHandler(page.Parent.FindMauiContext());
diff --git a/SampleMaui/Platforms/Android/AndroidManifest.xml b/SampleMaui/Platforms/Android/AndroidManifest.xml
index e48afa1..edbd653 100644
--- a/SampleMaui/Platforms/Android/AndroidManifest.xml
+++ b/SampleMaui/Platforms/Android/AndroidManifest.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/SampleMaui/SampleMopups.csproj b/SampleMaui/SampleMopups.csproj
index a7b7047..4b98b72 100644
--- a/SampleMaui/SampleMopups.csproj
+++ b/SampleMaui/SampleMopups.csproj
@@ -2,8 +2,8 @@
- net8.0-maccatalyst;net8.0-ios;net8.0-android
- $(TargetFrameworks);net8.0-windows10.0.19041.0
+ net10.0-maccatalyst;net10.0-ios;net10.0-android
+ $(TargetFrameworks);net10.0-windows10.0.19041.0
@@ -23,8 +23,8 @@
14.2
14.0
21.0
- 10.0.17763.0
- 10.0.17763.0
+ 10.0.19041.0
+ 10.0.19041.0
@@ -46,8 +46,9 @@
-
-
+
+
+