App.extensions() status not updating after disabling App Extension embed block

The “app.extensions()” method returns stale “status” value after disabling a Theme App Extension embed block. The status remains “active” instead of updating to “available”.

Steps to Reproduce:

  1. Install an app with a Theme App Extension (embed block)
  2. Call app.extensions() → status returns “available” → true
  3. Enable the app embed block
  4. Call app.extensions() → status returns “active” → true
  5. Disable the app embed block
  6. Call app.extensions() → status still returns “active” → false

I can’t see the correct status of the block every time open app

Did you press the save button between each call?

sure :v I pressed save and even refreshed the page before calling app.extensions() again.

interesting I haven’t tested this new functionality yet, but in my current flow, if the user has no permission to read_themes the check will fail, I wonder if Shopify requires this permission for the new extension checker to run?