I'm trying to develop super simple app based on shopify_api gem with script_tag read / write scopes and monthly subscriptions.
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!
Solved! Go to the solution
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.