I followed the instructions provided in the Cocos Creator documentation to integrate functionality using native.Downloader
. However, when attempting to instantiate an object inside another class, I encountered the exception “native.Downloader is not a constructor.”
import {native} from ‘cc’;
//Inside class
const down = new native.Downloader(); //Exception is throwing in this line of code.
Any update on this ?
Any update??