Support for Wikitude Software Development Kit and tools is coming to an end. All the details can be found here. Kindly note that no new topics can be started on the forum from 21.09.2023. Also, some of the FAQs here (especially license related ones) might become inaccurate.
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