My app is published and in the live store. I want to make some updates and run it on ngrok server. But if i change the appurl to an ngrok server woudlnt that stop merchants from downloading since its not a lie app url? how do i do this?
Hello,
My suggestions it the following:
- send the app into a private repo to github
- clone it on your local machine and create a new ngrok URL
In this way no changes will alter the live app.
Let me know whether it helps you,
Kind regards,
Diego
Hello Diego,
Can you explain how cloning your app into a private repo in github eliminates the problem with redirection to your localhost on an already live shopify app store app? The suggestion of cloning the app into a github repo doesn’t seem to solve that, unless I misunderstood?
The way I understand it, in the App Setup screen you can only put in one URL for the App Url but you are allowed to put in multiple for callback URLs.
The issue that this creates is that when launching an app install from the Shopify App Store, the App Url is used initially by Shopify to confirm HMAC & Email of installer on your server’s end, then the installer is redirected to Shopify via your server using a 3xx redirect to complete finishing the install, before hitting the Callback URL to save authorization_code & request access_token.
The issue with testing an app that goes live on the Shopify app store using localhost/ngrok/tunnel is how do you test when that main App Url has to be a real and public URL, not a ngrok or localhost URL? It also seems like your public server has to become the proxy and tunnel requests from the public App Url to your localhost wherever it is.
Can you please clarify? Thank you