I develop a custom embeded app (admin & pos) for internal use. Previously this app was installed in a fully fledged shopify plus store using the merchant link from partners dash.
I understand it is atypical to use anything but a dev store. However, our plus store has a ton of custom products w/ crazy metafields, locations w/ metafields, all kinds of stuff. It was very useful for testing our embedded app, as that app relies on a lot of that customization/configuration.
It worked because the tunnel urls for the application were global. So we would setup and install different testing application that we would use when running the application locally using “shopify app dev”
Now on the new dev platform, the tunnel urls are directly updated for a dev store when starting the app locally. But we currently cannot use dev stores (for reasons stated above), and the cli will not let me work with a plus store.
I need some guidance here as our devs are currently stuck and can’t get their work done.
The workaround I’ve come up with is to use a paid ngrok tunnel for each dev, so we can use reliable tunnel names, set the app tunnel urls to a named ngrok tunnel, and use that. It’s not ideal.
BTW: the whole reason we are using a plus store instead of a dev store is because at the time dev stores could not run apps embedded within the shopify pos, a requirement for our app.
My team is having the same problem and we’ve attempted the same workaround without success. We’ve been fully blocked on local dev since the upgrade and it’s been really frustrating.
Yes, app was purely embedded. Used in embedded in admin as well as POS, nowhere else. No extensions.
Not sure what you mean by managing other app config. Configuration for apps other than the one we are talking about, or other configuration for the app we are talking about?
We managed those in the partner dashboard. We didn’t keep the developer app copy’s toml files in source control since those previously had the tunnel urls that updated every time we ran shopify app dev
I’m afraid I would say that your workflow was an unintended feature made possible by the global URL update we previously did during dev. This update caused many many problems for other developers, who would accidentally run dev on prod app instances and end up with Cloudflare URLs in production. … a core goal for us with the new dev was to make the command always safe to run.
100% understand the need to test on your Plus store though – if we allowed you to dev against this Plus testing store, would that solve your workflow?
A workaround would be to run dev, then manually copy the Cloudflare App URL into your toml and shopify app deploy. You could potentially script this. You would need to app config link as well to avoid overwriting dashboard-edited configuration. We strongly recommend managing via app toml however.
Okay, so the localhost dev path will work for some of the development work, specifically the parts we can test when embedded in admin.
My understanding is that the localhost route won’t work when the app is booted from within the POS, which is definitely a need we have for development.
Since you can create Plus stores on the Dev Dashboard now, is that a potential short term solution for you? Perhaps with a tool from the app store to copy your existing data into it?