I need an urgent fix. Our public app, Gift Plus, does not purge the metaobject schema after it is uninstalled. I’m getting frustrated. For reference, I installed the app on app-khair.myshopify.com, but now I can’t delete the schema even though the app is uninstalled.
Topic summary
A developer is experiencing an issue where their public Shopify app, Gift Plus, leaves behind metaobject schemas after uninstallation. The schemas cannot be deleted manually even after the app is removed from the test store (app-khair.myshopify.com).
Proposed Solution:
- Reinstall the app and run a cleanup script to delete the metaobject schema before uninstalling again.
Developer’s Concern:
- Questions why a cleanup script is necessary, expecting metaobjects attached to the app to be automatically deleted upon uninstallation.
- Notes that API keys are already discarded after uninstallation, making post-uninstall cleanup impossible.
Current Status:
The issue remains unresolved with no clear explanation for why Shopify doesn’t automatically remove app-created metaobjects during uninstallation.
You need to reinstall the app on the store (app-khair.myshopify.com) and run a cleanup script to delete the metaobject schema before uninstalling.
Why do I need to write a clean-up script? I assume this metaobject should be automatically deleted since it’s attached to the app. I can’t remove it before uninstalling because the API key will already have been discarded at that point
