iain-campbell
Shopify Staff (Retired)
Last Activity: Mar 24 10:26:30
Topic Started
0
Topics Started
Topic Solutions
9
Solutions
Post Count
54
Posts
Post Kudos
23
Likes

Community Badges

No content to show

User Activity

Hi Kim, would you mind creating an issue for this on github? https://github.com/Shopify/shopify-app-bridge/issues/new?labels=bug&template=bug_report.md Please include as much information as possible. If you can provide a link to a shop with the app i...
Hi Chris! Browsers are slowly putting more and more restrictions on the use of cookies in iframes. As a result, we've built the new session token auth method to allow embedded apps to authenticate without persisting cookies. At this point, if you wan...
awesome, and welcome!
App Bridge is a standalone, client-side vanilla JS library. It works with any frontend or backend technology you’d like to use to build your app. Shopify’s backend APIs use industry standard Oauth 2.0. Any backend stack that can implement Oauth 2.0 b...
Yeah, we recently created the new issue repo specifically for App Bridge because there were a bunch of tickets getting lost in the Polaris repo. sorry about that!!
Gotcha. As a workaround, you could call setupModalAutoSizing in a handler for the image’s onload event. However, you shouldn't have to do that; this is a bug in setupModalAutoSizing.  Would you mind opening a bug report on the new App Bridge github b...
Hmm, interesting. Do you mean if you call setupModalAutoSizing again after the image has loaded, it works? The setupModalAutoSizing utility just wraps the MutationObserver API, which sounds like it may not be picking up image load events.
The docs have been updated  https://shopify.dev/tools/app-bridge/actions/resourcepicker#options
hi leilei9011, What‘s the task you’re trying to enable merchants to do? If you want to query variants only, you might want the product variant picker. This isn't documented well, but the resource picker queries the GraphQL products resource (and the ...
Is there a way to allow messages from multiple subdomains?Unfortunately not; the entire URL origin must match.
Are you loading your app from a different domain than the one you supplied in Partners Dashboard as your app's URL (under 'App Setup')? App Bridge will only accept messages from the domain specified in Partners Dashboard.
Hi Coler! It’s on our to do list. App Bridge React is used quite a lot internally (where people are also manually implementing this feature for now!). You can follow this issue on the new App Bridge issue tracker on Github: https://github.com/Shopify...
Version 1.26.2 has shipped with a fix for this issue.
can you please clarify what do you mean by URL here?Sorry, should have said domain, not URL. The protocol (ie https) and the domain (ie shopify.com) need to match the app’s configuration in Partners Dashboard. The rest of the URL can change, ie you c...
Hi junoyu,App Bridge doesn't treat draft/custom apps differently. Try double checking that the app’s URL matches the URL set in Partners Dashboard under 'App Setup'? If it's different, App Bridge will ignore all actions from the app as a security mea...
This widget could not be displayed.
This widget could not be displayed.