Cordova Windows Application - Connectivity Issue

Mobile Apps 1 Reputation point
2020-12-09T16:38:22.363+00:00

We are creating a Cordova windows application so the application is in "RemoteMode". The application does not connect with app server if VPN is ON mode.

As discussed with MSFT team, The have asked us to enable "PrivateNetworkClientServer" capability but If we enable this capability , the app may get reject by store based on their policy.

We would like to know other ways to access the app server using VPN.

It would be helpful, If you share the details.

Universal Windows Platform (UWP)
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,266 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor
    2020-12-10T06:48:29.677+00:00

    Hi @Mobile Apps ,

    Thanks for posting in Q&A platform.

    May I know if the VPN client is a Windows built-in VPN client or a 3rd party VPN client?

    It seems that the issue is more related to Cordova, please kindly note that since we are not familiar with Cordova, I would suggest you could contact Cordova support or Microsoft Store support for further help:

    https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_store?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=all&isFilterExpanded=false&page=1

    https://social.msdn.microsoft.com/Forums/windowsapps/en-us/home?forum=windowsstore

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Mobile Apps 1 Reputation point
    2020-12-10T10:29:54.333+00:00

    We are using 3rd party VPN client.

    But the application connects perfectly if the server has hosted in public mode.
    Otherwise If Enable the capability "PrivateNetworkClientServer", The application connects local server perfectly.

    The problem, If the VPN is on to connect the local server, The application did not connect.. Most of the our customer uses the local server and connect using VPN. They are expecting the same way to work this application also.

    Is there limitation in Cordova Windows application?
    Share any other possibilities to handle this?

    0 comments No comments

  3. lookout771 1 Reputation point
    2021-01-05T19:27:22.097+00:00

    Hi,

    Kindly share If have any update on this @Sunny Qi .

    We are also facing the the same issue seems it is not a cordova issue. The windows store policy rejects if we enable the PrivateNetworkCapability in UWP-Cordova application.

    Is there any other possibilities?

    is the limitation of the UWP Cordova application. Kindly clarify it

    0 comments No comments