Different App Url for Local Testing

Solved
Ragzor
Tourist
9 0 7

Hey All!

 

We're in the process of creating a react embedded app which uses polaris actions like contextual save bar etc so we cannot develop directly on the localhost url but instead have to go through the mystore.myshopify.com route to make it work.

 

Putting in https://localhost as the App Url works fine as it opens up the local app inside the admin area of mystore.myshopify.com however what happens once the app is in production? is there a way to add a development app url which opens the localhost URL while developing or the best workflow would be to create a new app just for testing purposes?

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

This is an accepted solution.

Hey @Ragzor,

 

I'd recommend creating an additional app for this.

0 Likes
tarek-rahme
Excursionist
49 0 0

@Ragzor SBD_ 

Hello

I tried creating a new app for that same issue but the development store is recognizing the new test app as the original production app. Any idea why?

New app points to development environment, original app points to prod app on cloud

0 Likes