We are using the current Xamarin Component, which appears to be at 6.1.0
Good morning,
quite recently we released a new API to communicate with native code that I believe will suit your needs. It allows sending of a JSON object that is received as a dictionary on the native side:
public partial class ExampleArchitectViewDelegate : WTArchitectViewDelegate { public override void ReceivedJSONObject(WTArchitectView architectView, NSDictionary jsonObject) { Console.WriteLine ("Received JSON object."); } }
AR.platform.sendJSONObject({ some_key: "some_value" });
The corresponding reference can be found here.
- Daniel
We did end up using that, but this requires modifying the JS experience ZIP that is exported from the Wikitude Studio editor. Are there any plans to fix the issues with the architectsdk schema?
Any update on this? It would be very helpful if this issue with the editor was fixed.
sadf htrhr
We're currently investigating the use of the Wikitude SDK for a Xamarin cross-platform app. As mentioned in the docs (here, and some other places), we should be able to use the "architectsdk" schema to handle interactivity in native code. There are two problems with this: