when i try running this example https://github.com/Wikitude/wikitude-sdk-samples/tree/master/01_ImageRecognition_1_ImageOnTarget
using firebase as a host, this block of code errors out
try{ this.targetCollectionResource = new AR.TargetCollectionResource("assets/magazine.wtc", { onLoaded:function(){ AR.logger.info("LOADED"); }, onError:function(err){ AR.logger.error(`Error on target collection: ${err}`); } }); }catch(err){ AR.logger.error(`error: ${err.message}`) }
the error says "AR.TargetCollectionResource is not a constructor" here is an image of the errorerror image
sorry the link to the sdk sample i was using is link to sdk
Adam Ali
when i try running this example https://github.com/Wikitude/wikitude-sdk-samples/tree/master/01_ImageRecognition_1_ImageOnTarget
using firebase as a host, this block of code errors out
the error says "AR.TargetCollectionResource is not a constructor" here is an image of the errorerror image