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

App freezes after a while with OOM on low-power Android smartphone #69

Open
cloudspeech opened this issue Apr 15, 2020 · 1 comment
Open

Comments

@cloudspeech
Copy link

cloudspeech commented Apr 15, 2020

Using the Nokia 2 on Android 8.1 with Chrome 80, the app freezes after a while with
'This page uses soo much memory, so Chrome removed some content'.

This combination of hardware, platform and browser version has been verified to support ShapeDetection API.

Note that Google distributed this phone model to developers at some point with the indication it would be a prototypical example of low-power smartphone often found in developing countries.

So for QR snapper to be useful to the next billion users, the app and/or Google Chrome needs some serious performance work.

Note that merely switching exclusively to the browser's ShapeDetection API will not work in general, since on too many devices this may not work (needs cooperation with Google Play Services, has been observed to fail in the field even with up-to-date Services). Hence an unaccelerated software fallback like what is used in QR snapper is still needed, greatly reducing the benefit of ShapeDetection API .

Please fix this.

@PaulKinlan
Copy link
Owner

Interesting. Will investigate.

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