Custom executable actions
Last updated
Last updated
Allows the custom executable action to be executed by Appfigurate. Any configuration properties you modify in the action method are persisted. Actions appear below properties in the Appfigurate UI.
Swift prototype
As you cannot annotate a Swift method with a property wrapper, your action methods must be specified manually.
Replace XXX
with the name of your action (e.g. freshInstall
)
If you return true
from your XXXRestart()
method, then the app will be restarted after the action method is executed.
Swift example
When an action is executed in the underlying native (iOS) or (Android) subclass, Flutter is also notified. Override the method in as follows to receive the action:
When an action is executed in the underlying native (iOS) or (Android) subclass, React Native is also notified. Subscribe to an event emitter to receive the action: