Skip to content

Issue Fixed for Huawei #6

@tsukasa1989

Description

@tsukasa1989

Inside the hce-util.js a ES6 function is used. The forEach function, on a modern Huawei this function does not exists and will give you an error. Therefor it works on all devices I tested except all Huawei.

Replace the function in hce-util.js on line 31 with the following:

for (var i = 0; i < a.length; i++) {
    s += toHex(a[i]);
}

And you code will work on this device aswell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions