Start a new topic

Xamarin Javascript API 8.1 not working Android

I copied the javascript and html from your sample1 and put it in my project. In xamarin I'm using ArchitectView.Load('html file'). I'm not used to working with JS so I tried to run the index.html and inspect in browser. 

In the inspection thing in the browser I get this error:

Uncaught ReferenceError: AR is not defined

on this line:

this.targetCollectionResource = new AR.TargetCollectionResource("assets/",{ ....

Anybody know how to help me? 

I have the xamarin JDK installed. 

SDK 8.1

1 Comment

Also, i'm not getting any errors in the Xamarin code and the camera opens on my Android device (Oneplus 6)

Login or Signup to post a comment