App Bridge update not working properly with node template.

App Bridge update not working properly with node template.

noiseymur
Shopify Partner
20 2 8

Since the App Bridge implementation got updated, I followed the docs to update it for my app as well. After the update, app loads normally, no problems with that, but then there are two action based errors/bugs that I've spotted so far.

1. If we have shopify.ensureInstalledOnShop() middleware (which I should have, because my app is embedded), the resource picker is not opening.
2. If I try to navigate either using react-router-dom useNavigate hook or using open function like shown in the documentation, the page crashes, and that's because it refuses to frame the url due to "frame-ancestors: none" issue.

@Shopify  is there any solution to this problems or should I just keep using the old App Bridge implementation ?

Replies 0 (0)