Hi folks — I’m building a Shop Mini and need to get it into my QA tester’s hands before I go through full review. I can run it locally, but sharing a dev build to someone hasn’t worked so far.
I want simply let a remote QA open and test my Mini without publishing it.
We tried QR code scan on his device → only empty white screen is seen at shop.app page and that all.
I did not find any official/preferred way to share a dev build with external testers (pre-review) in docs as well.
Thanks in advance.
There isn’t an official pre-review sharing method yet. The recommended approach to give a remote QA access to a local Shop Mini is to run the dev server with an ngrok tunnel:
Create a free ngrok account and get your authtoken.
Run: NGROK_AUTHTOKEN= npx shop-minis dev --tunnel
Share the QR code or the deeplink with your tester
I’m trying this method, but I get an error: Blocked request. This host (“<…>.ngrok-free.dev”) is not allowed. To allow this host, add “<…>.ngrok-free.dev” to server.allowedHosts in vite.config.js. How can I solve this?
The problem is that there is no vite.config.js in the project. It is built into the shop minis package, so I can’t configure or extend it. I also tried adding the domain to the trusted_domains list in manifest.json, but it didn’t work.
EDIT: Never mind — I found out that the vite.config.js file only allows the .app domain from ngrok