Can't publish Shopify Function

Hey @KyleG-Shopify
I managed to resolve my OAUTH Cookie issue by switching over to using OAUTH Token Exchange in my app.

Just in case anyone else reading this has the same OAUTH cookie issue that I had, here is the post that helped me fix the issue:

After resolving my OAUTH issue, I managed to publish my Shopify Function properly by running the following command:

shopify app deploy

In my initial post, you’ll see that I ran the deploy command with this flag: –no-relesae. It was working once I removed that flag.

Now I am able to see my function in GraphQL requests made by my app as well as requests made with the Shopify GraphiQL App.

All I have do do now is run a GraphQL mutation to activate the Shopify Function on my Shopify Store and it should be working as intended.

@KyleG-Shopify do you have any recommendations on how activate the function on any Shopify Store that installs my app? Am I supposed to run a GraphQL mutation during the app installation process or is it automatically activated on any store that installs my app?