App-bridge - Close App

I found in below docs that the POS Close Modal is Deprecated in app-bridge:

https://help.shopify.com/en/api/embedded-apps/app-bridge/migrating

Is there really no alternatives to this method if my app is using app-bridge?

Hi @tomchan ,

There is no alternatives to this method in App Bridge. Do you have a good use case for it?

Hi Henry,

My app calculate discount and apply it to the cart. It’s good if the app can close automatically after the discount is applied.

I made a feature request ticket for this. I will let you know when it is supported.

Hi Henry,

I just wanted to follow up on this method. Is it released yet?

Thanks!

Hi @development_s57

We haven’t had new updates for this yet unfortunately.

Thanks,

Henry

Hi Henry,

Do you have an estimated timeline for this release?

Thank you so much!

Hi @development_s57

It is scheduled for next year but we haven’t had fix timeline for it yet. I will post here when we have new updates.

Thanks,

Henry

Hi, I see the Close action is now available but when I execute it nothing seems to happen. Did anyone manage to make it work?

https://shopify.dev/tools/app-bridge/actions/pos

Hi @FezVrasta

Can you let me know what App Bridge version you are using? What platform (Android / iOS) are you testing?

Hi! I’m on 1.30.0 and I’m trying it on iOS (iPhone with latest iOS update)

If it helps, this is the code I’m sending, other App Bridge commands (such as Cart) work just fine.