Start a new topic

WTArchitectViewDelegate in Xamarin.Android


i searched the forum to know how to pass data from/to Xamarin and JS code and i found that i need to register a delegate with WTArchitectViewDelegate  but i can't find it in Xamarin Android at all only in iOS.

please if you have a working sample for this functionally share it. 

Found it .


OK, thank you.

for sending JSON from JS to Android what i use ?


with Android you have to use ArchitectJavaScriptListener which can be added with architectView.AddArchitectJavaScriptInterfaceListener.

This Listener does get all JSON objects that were sent from js.

To send data to js you can use architectView.CallJavascript.

Best Regards,


Login or Signup to post a comment