Hey guys!
I’m porting my JS game to iOS and I’m integrating the AssetsManager extension to it. I’m facing this issue when trying to load the local manifest file.
My local manifest file is located in the root of the project: ProjectName/project.manifest
I’m trying out the following code snippet:
var storagePath = (jsb.fileUtils ? jsb.fileUtils.getWritablePath() : "/") + "downloads/";
this._am = new jsb.AssetsManager("project.manifest", storagePath);
this._am.retain();
cc.log(this._am.getLocalManifest().isLoaded()); //false
Am I missing something?