From b40200ecae3449c303eef54ecf0816aad47877bd Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 24 Feb 2026 11:52:08 -0700 Subject: [PATCH 1/4] feat: add IHasWebViewWithPwaMode interface with PWA navigation methods --- .../DeviceTypeInterfaces/IHasWebView.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs index be751f41..2a949460 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs @@ -36,6 +36,25 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces event EventHandler WebViewStatusChanged; } + + /// + /// Defines the contract for IHasWebViewWithPwaMode + /// + public interface IHasWebViewWithPwaMode : IHasWebView + { + /// + /// Sends navigators to the specified PWA URL. Accepts an absolute URL or a relative URL for a mobile control app + /// + /// The URL to navigate to + void SendNavigatorsToPwaUrl(string url); + + /// + /// Exits navigators from PWA mode + /// + void ExitNavigatorsPwaMode(); + } + + /// /// Represents a WebViewStatusChangedEventArgs /// @@ -56,3 +75,9 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces } } } + + + + + + From a704e48ae6ffc76cee5b681f76c37f2120102edc Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 24 Feb 2026 14:48:21 -0700 Subject: [PATCH 2/4] feat: add IsInPwaModeFeedback property to IHasWebViewWithPwaMode interface --- .../DeviceTypeInterfaces/IHasWebView.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs index 2a949460..938fec05 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs @@ -42,6 +42,16 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces /// public interface IHasWebViewWithPwaMode : IHasWebView { + /// + /// Indicates whether the webview is currently in PWA mode + /// + bool IsInPwaMode { get; } + + /// + /// Indicates whether the webview is currently in PWA mode + /// + BoolFeedback IsInPwaModeFeedback { get; } + /// /// Sends navigators to the specified PWA URL. Accepts an absolute URL or a relative URL for a mobile control app /// From bd38475b1072650b23e4a1c5089ae2cdd14e550e Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 24 Feb 2026 14:53:12 -0700 Subject: [PATCH 3/4] Update src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../DeviceTypeInterfaces/IHasWebView.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs index 938fec05..1be89312 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs @@ -85,9 +85,3 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces } } } - - - - - - From e162ed208bedc05ea588535bdd0a69b199fce2b5 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 24 Feb 2026 14:53:31 -0700 Subject: [PATCH 4/4] Update src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../DeviceTypeInterfaces/IHasWebView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs index 1be89312..396229ce 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs @@ -48,7 +48,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces bool IsInPwaMode { get; } /// - /// Indicates whether the webview is currently in PWA mode + /// Gets the BoolFeedback indicating whether the webview is currently in PWA mode /// BoolFeedback IsInPwaModeFeedback { get; }