Start a new topic

Pass .wtc file from native (iOS, Android) to Javascript

Pass .wtc file from native (iOS, Android) to Javascript


Is it possible to pass a wtc tracker file downloaded and saved in native storage (not precompiled with the app) to the Javascript scope?

 

Thanks,

 

Lanre

Hi Lanre,
Sure, simply use the 'callJavaScript' method from our SDK to call a function from ObjC/Java in JavaScript. The path to the .wtc file could be one of the parameters that you pass over. Once you have the path in JS you can use it to create a AR.ClientTracker object.

Best regards

Andreas
Login or Signup to post a comment