App reviews, troubleshooting, and recommendations
Hi all! I'm currently developing a public app with embebed admin site. I'm trying to integrate App Bridge to the application, but without luck.
This is a piece of code trying to display a simple Toast message, it throws no error, the is initialized correctly.
import createApp from '@shopify/app-bridge';
import { Toast } from '@shopify/app-bridge/actions';
...
ngOnInit(): void {
const app = createApp({
apiKey: 'THE_API_KEY',
shopOrigin: 'THE_SHOP.myshopify.com'
});
const toast = Toast.create(app, {
message: 'My sample message',
duration: 3000
});
toast.dispatch(Toast.Action.SHOW);
Also, I have 2 endpoints, one the backend that redirects to installation and other one that render the Angular application.
Thanks!
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023