pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.73k stars 283 forks source link

Windows App Store rejection due to restricted capabilities: packageManagement #1247

Closed sensoryapphouse closed 3 years ago

sensoryapphouse commented 3 years ago

I have recently built a good number of PWA using the new Edge Chromium method. Many were submitted successfully, although it was noted on package upload that the package contained the capability : restricted capabilities: packageManagement

I had been adding a comment that this is generated by PWABuilder, and about 10 apps were accepted to the store. But I just got 8 apps rejected just now, and more are being rejected as I type. The rejected notice is;

Capabilities: 10.6 Capabilities

Notes To Developer

You do not have approval to use the following restricted capabilities: packageManagement . Please remove this capability from your application and resubmit.

My question is what is the fastest way to have this capability removed? In the past I would use Microsoft MSIX packaging tool to edit an appmanifest file, but the new PWABuilder is creating the MSIXBundles. Is there a setting I need to change when using PWABuilder? Is there a fast tool to unzip the MSIXBundles edit and rebundle? I have tried makeappx.exe but that didn't seem to work. Thanks for any advice, and I will experiment a bit more

ghost commented 3 years ago

Hello sensoryapphouse, thank you for your interest in PWABuilder!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

sensoryapphouse commented 3 years ago

just adding more to my comments above, I was able to rename the msixbundle to be a zip and then edit the included msix file. But the app store is rejecting the rezipped/renamed file, so maybe need to rebuild differently

davrous commented 3 years ago

Hi @sensoryapphouse, we are aware of this issue. @JudahGabriel has rollback to a previous version not using anymore packageManagement. Judah: is the rollback deployed on production or not yet?

By the way: good to know you already managed to send several PWA in our store using the new Chromium engine!

sensoryapphouse commented 3 years ago

Thanks for the fast update, glad it is know about. Got quite a few PWA in with new Chromium engine, and the restricted capability warning. But think the shutter came down on it today.

JudahGabriel commented 3 years ago

Hey @sensoryapphouse,

Yes, we've updated the tool to remove the "packageManagement" capability. That is deployed to production. If you generate an app again from PWABuilder, it'll avoid the Store rejection. 👍

sensoryapphouse commented 3 years ago

perfect, thanks. Will rebuild