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?

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
How to disable iOS Shortcut ( Automation ) Programmatically?
 
 
Q