Batch Actions is a module allowing you to register remotely-configurable runnable code to the SDK, when simple deeplinks wouldn't be enough. They can be triggered at any time by the SDK, allowing you to focus on the action code rather than when to trigger it.
Batch comes with builtin actions (deeplinking, user data edition, etc...)
An action has two components:
- An identifier (case-unsensitive string), which will allow you to reference this action
- While the identifier string is up to you, it cannot start with "batch.": these identifiers are reserved for built-in actions.
- An implementation block
Registering them is easy, but should be done using native code so that Batch can use them even if Flutter isn't loaded.
See our native documentations for more info: