Closed bigbn closed 9 years ago
:+1: having the same problem
Same here.
same issue here... is the repo still maintained?
The issue is easy to fix:
The malformed part is =(type 0x10)0x15 (Raw: "21")
. You can add a function like so
ParseApk.prototype.extractRawType = function (string) {
var matches = string.match(/\(Raw:\s\"(.+)\"\)/);
if (matches && matches.length > 1)
return matches[1];
return null;
}
And call it when rest.substring(0, 12) === "=(type 0x10)"
inside the parseOutput
. Like so;
else if (rest.substring(0, 12) === "=(type 0x10)") {
// Raw
value = self.extractRawType(rest);
}
I'll happily accept a pull request for this!
published version 0.1.4 to npm
I use your example:
and have this:
and listing look's like that:
And this is the manifest: