shopify_api gem + script_tag + app frontend

Solved
New Member
2 0 0

Hey :)

 

I'm trying to develop super simple app based on shopify_api gem with script_tag read / write scopes and monthly subscriptions.

 

Questions:

1. How can I remove my script tag while user clicks Delete App in his store ?

2. When user clicks on my app in his store, can I somehow provide any simple note inside my app - currently I'm seeing blank page - do I need to use full shopify_app gem to do that or can I somehow provide any info with api gem.

 

Thank you for help!

 

0 Likes
Highlighted

Success.

Shopify Staff
Shopify Staff
678 88 94

Hey @Mankind,

 

1. ScriptTags are automatically removed when a merchant uninstalls your app,

2. When a user clicks your app in the admin, they're redirected to the 'App URL' in your partner dashboard > your app > app settings. You don't need to use any libraries here, but be sure to verify the request and consider using app bridge.

0 Likes
Highlighted
New Member
2 0 0

Thank you 

0 Likes