How to disable iOS Shortcut ( Automation ) Programmatically?

How to disable iOS Shortcut ( Automation ) Programmatically ?

I have made an automation to open my app whenever a user opens Facebook app. When the user taps on "Continue with Facebook" the automation which is forcing to open my App show be disabled for 2 minutes. How can I achieve this?

Replies

Got the Same Question, seems like there is no method to achieve this function

  • the isDiscoverable getter is required to be settled down at compile time