Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Fixed for Huawei #6

Open
tsukasa1989 opened this issue Jul 15, 2016 · 1 comment
Open

Issue Fixed for Huawei #6

tsukasa1989 opened this issue Jul 15, 2016 · 1 comment

Comments

@tsukasa1989
Copy link

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

@don
Copy link
Owner

don commented Jul 30, 2016

@tsukasa1989 thanks for this fix. I'll get it added into the next release.

I have a Huawei device running Android 5.1. It started working a lot better with Cordova apps after I updated the Android System WebView using Google Play.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants