Call External Method
The Call External Method action enables communication between the app and native platform code. This is typically used when DigiaUIClient is initialized to allow invoking native methods or platform-specific functionality directly from the app.
Use Cases
Calling native device APIs not directly available via the app’s UI framework.
Triggering platform-specific behaviors (e.g., analytics, sensors, hardware features).
Passing data or commands to native code for custom processing.
Properties
name
(Required) The name of the native method or channel to call.
payload
Optional JSON data to send as arguments or parameters to the native method.
Default Behavior
When triggered, this action sends a message to native code via the DigiaUIClient bridge.
The action depends on the native side implementing and handling the specified method name.
No built-in feedback is shown; any response handling must be implemented separately.
How to Use
Attach the action to a widget event (e.g., button tap).
Select Call External Method from the action list.
Specify the method
name
matching the native implementation.Optionally provide a
payload
with data to pass.
Last updated