Use App Bridge for local environment

camelmasa
Shopify Partner
83 10 27

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,

Replies 2 (2)

camelmasa
Shopify Partner
83 10 27

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

EddyChung
Shopify Partner
65 1 28

@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.