damian
1
Im using the Thunkable Web Viewer Extensions (https://github.com/thunkable/webviewer-extension) to pass a simple object from my web app to the thunkable web viewer:
and catch it like that:
it works well on the live preview:
but when previewing on iOS using the Thunkable Live app im getting the following error:
it works when im passing a simple string instead of an object. is this a bug or am i missing something?
any help is much appreciated.
2 Likes
jared
2
in your code, use this
ThunkableWebviewerExtension.postMessage(JSON.stringify(messasgeObj)
and in your blocks use it like this
1 Like
damian
3
awesome, works perfectly! thanks.
was not aware that the component expects a string…
system
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.