Informing app users of an update

Hey all,

I’m just wondering if there is a way to inform my current Shopify app users when release a major update?

As far as I can tell there isn’t, and I should have been collecting emails and permission to email myself from the users, but though I would check in case.

Cheers, Ollie

https://apps.shopify.com/autoblogger

Hi Olllie!

It’s possible that you could create a notification in the admin using the @Shopify_77 /app-bridge-reactpackage which is a React wrapper for Shopify App Bridge. It could look something like this:

import createApp from '@shopify/app-bridge';
import { Banner, Button } from '@shopify/app-bridge-react';

// Replace {api_key} and {shop_origin} with your app's API key and the user's shop origin
const app = createApp({
  apiKey: '{api_key}',
  shopOrigin: '{shop_origin}',
});

const banner = (
  
);

app.mount(banner);

In this example, the Banner component is imported from @Shopify_77 /app-bridge-react. The Banner component is then used to create a banner notification with a title, message, and action button. When the user clicks the action button, the onAction function is called, allowing you to handle the click event and direct the user to the update.

Hope this helps!

Oh awesome! I think this is exactly what I’m after. Would it require the
user to visit my app to see the banner?