Hello All,
I’m facing an issue with dynamically updating the URL of a WebView at runtime.
When using the “Update WebView Properties” block to set a new URL (during Business Process execution), the WebView does not reflect the updated URL.
However, when I manually set the URL directly in the WebView element in the editor, it works as expected.
What I’ve Tried:
- Used the correct WebView element ID in the update block
- Verified that the URL is valid (tested via toast/log, also works in browser)
- Tried assigning the URL to a global variable and passing it in the block
- Ensured the update happens before navigation to the screen
- Also tried using screen input parameters to pass the URL dynamically
Despite all this, the WebView does not show the updated content dynamically.
The WebView should dynamically load a new URL when the “Update WebView Properties” block is used in logic, just like it does when hardcoded in the editor.
Platform:
- AppMaster Mobile App Editor
- Tested on Android preview (device )
For reference.
- Is this a known issue or limitation with the WebView component?
- Are dynamic updates via logic supported?
- Any workarounds or fixes available?
Thanks in advance for your support!