Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I have a Polaris app that initialized with AppProvider (with apiKey and shopOrigin) and then use toast to display messages.
It seems the toast message no longer works (it used to work), now the App Bridge is complain about the permission.
See the attached screenshot
Anyone know what went wrong and how to fix it?
Solved! Go to the solution
This is an accepted solution.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi Andy
Thanks for the reply
I'm currently using Polaris 3.1.1 and its not using the Flash action (I used Polaris Toast component and I guess the Polaris embeded app bridge powered Toast component)
so you reckon upgrade to the latest will solve the problem?
Do I need to migration my current Polaris Toast component to App bridge version?
I will give it try
Thanks
This is an accepted solution.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi Andy
Thanks for the reply
I'm currently using Polaris 3.1.1 and its not using the Flash action (I used Polaris Toast component and I guess the Polaris embeded app bridge powered Toast component)
so you reckon upgrade to the latest will solve the problem?
Do I need to migration my current Polaris Toast component to App bridge version?
I will give it try
Thanks
Hi Andrew
I updated Polaris to the latest version and its working now
Thanks