Use App Bridge for local environment

We are using App Bridge to create Shopify App.

 

App Bridge uses postMessage event to handle events between iframes.
In that case, we need Shopify's iframe to run App Bridge.

 

For easier development and e2e testing,
We need a solution that can be completed locally, do you have any plans for development?

 

Thanks,

0 Likes

We found "app-bridge-host" npm. We'll use it on local environment.

EddyChung
Excursionist
47 0 11

@camelmasa did you get this working? would you mind posting an example on your github? 

I would love to be able to run the app bridge on my local environment. 

0 Likes