From 0b91765a42a1bb3da1a38887d8ee255c2774b22e Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Tue, 31 Mar 2020 07:09:03 -0700 Subject: [PATCH] testing updates for ContentPage Navigation --- .../PopupPluginSample.iOS.csproj | 2 ++ samples/src/PopupPluginSample/App.xaml.cs | 7 +------ .../src/PopupPluginSample/Views/MenuPage.xaml | 1 + .../src/PopupPluginSample/Views/PopupView.xaml | 12 ++++++++---- samples/src/PopupPluginSample/Views/ViewA.xaml | 15 +++++++++++++++ .../src/PopupPluginSample/Views/ViewA.xaml.cs | 10 ++++++++++ samples/src/PopupPluginSample/Views/ViewB.xaml | 17 +++++++++++++++++ .../src/PopupPluginSample/Views/ViewB.xaml.cs | 10 ++++++++++ .../Prism.Plugin.Popups.csproj | 2 +- 9 files changed, 65 insertions(+), 11 deletions(-) create mode 100644 samples/src/PopupPluginSample/Views/ViewA.xaml create mode 100644 samples/src/PopupPluginSample/Views/ViewA.xaml.cs create mode 100644 samples/src/PopupPluginSample/Views/ViewB.xaml create mode 100644 samples/src/PopupPluginSample/Views/ViewB.xaml.cs diff --git a/samples/src/PopupPluginSample.iOS/PopupPluginSample.iOS.csproj b/samples/src/PopupPluginSample.iOS/PopupPluginSample.iOS.csproj index c9d66b8..c14e743 100644 --- a/samples/src/PopupPluginSample.iOS/PopupPluginSample.iOS.csproj +++ b/samples/src/PopupPluginSample.iOS/PopupPluginSample.iOS.csproj @@ -51,6 +51,8 @@ iPhone Developer true Entitlements.plist + None + -all none diff --git a/samples/src/PopupPluginSample/App.xaml.cs b/samples/src/PopupPluginSample/App.xaml.cs index c4b02e3..bbaaa71 100644 --- a/samples/src/PopupPluginSample/App.xaml.cs +++ b/samples/src/PopupPluginSample/App.xaml.cs @@ -13,6 +13,7 @@ namespace PopupPluginSample { + [AutoRegisterForNavigation] public partial class App : PrismApplication { /* @@ -46,12 +47,6 @@ protected override void RegisterTypes(IContainerRegistry containerRegistry) containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); containerRegistry.RegisterDialog(); } diff --git a/samples/src/PopupPluginSample/Views/MenuPage.xaml b/samples/src/PopupPluginSample/Views/MenuPage.xaml index 7614372..b72379d 100644 --- a/samples/src/PopupPluginSample/Views/MenuPage.xaml +++ b/samples/src/PopupPluginSample/Views/MenuPage.xaml @@ -17,6 +17,7 @@