AppServiceConnection.OpenAsync() returns AppServiceConnectionStatus.Unknown for desktop bridge between UWP and WPF
Hii,
We are using desktop bridge for communication between uwp and wpf app using the app service connection. The app is published in Microsoft store and it works fine for all our customers. Recently one customer reported an issue and we could find that the connection is not established between the uwp and wpf app. In his case, the wpf app is launched successfully using await Windows.ApplicationModel.FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync()
but the connection status for connection.OpenAsync()
is returning as AppServiceConnectionStatus.Unknown
always. I wanted to know which protocol is used for communication in app services and on what condition does it break? Also can you please let me know the reasons for this AppServiceConnectionStatus.Unknown status?
P.S:- We already tried the following fixes but couldn't fix the issue.
- Uninstalling and reinstalling the app.
- Disabled the antivirus.
Kindly help! Thanks in Advance :)