MicrosoftDocs / CordovaDocs

content repo for Apache Cordova on docs.microsoft.com
https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/
Creative Commons Attribution 4.0 International
14 stars 31 forks source link

Local mode does not seem to enough for store acceptance when using privateNetworkClientServer #50

Open pjc2007 opened 5 years ago

pjc2007 commented 5 years ago

I still get store rejection when adding local mode..

Error Found: The app manifest test detected the following errors: The Application cannot include an ApplicationContentUriRule with 'all' or 'allowForWebOnly' WindowsRuntimeAccess while any of the following capabilities are enabled: enterpriseAuthentication, sharedUserCertificates, musicLibrary, picturesLibrary, videosLibrary, removableStorage, documentLibrary, internetClientServer, privateNetworkClientServer.

It seems it does not like the <uap:ApplicationContentUriRules> <uap:Rule Match="http://localhost:8080/*" Type="include" WindowsRuntimeAccess="all" /> </uap:ApplicationContentUriRules>

which is being added by my Cordova build (and I cannot remove it)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

hanmina commented 5 years ago

I am having the same issue and I am very frustrated that no one responding.

pjc2007 commented 5 years ago

My solution for this came from this thread

Maybe see if anything there helps?

It is a long thread, perhaps start from the end?

In the end , I had an entry in my config.xml I should not have had (and I did not know where it came from)

I have since built and successfully published to the store.