GithubHelp home page GithubHelp logo

Comments (9)

wewewe718 avatar wewewe718 commented on May 26, 2024

Thank you for reporting a bug. I guess it might be caused by MIUI. Does this error occur only on the first start or does it happen every time?

from qrandbarcodescanner.

cy-coe avatar cy-coe commented on May 26, 2024

Every time.

from qrandbarcodescanner.

wewewe718 avatar wewewe718 commented on May 26, 2024

OK, I will take a look.

from qrandbarcodescanner.

cy-coe avatar cy-coe commented on May 26, 2024

A Minute ago I had cam view. After closing the App and opening again I had no cam view and got: "Failed to connect to camera service"

from qrandbarcodescanner.

wewewe718 avatar wewewe718 commented on May 26, 2024

This issue is caused by using old camera API in my app. It seems that it does not work on Xiaomi devices with Android 10. I will rewrite it to use new CameraX API and this issue will be solved.

from qrandbarcodescanner.

Stimmenhotel avatar Stimmenhotel commented on May 26, 2024

I am not sure if this is the same error:

Device: Xiaomi Mi 9t Pro, Android 10 (Resurrection OS 8.6.2) (+ ANXCamera v148, shouldn't matter, but since it is a magisk module, maybe it is replacing something)
But I believe I am using the MIUI vendor image, whatever that means.

Once I open the app I get a few ms of live picture, then everything freezes and I can't do anything.
Camera is still active, until I force close the app.

I tried to get a logcat but wasn't able to do so.

Once the new API is implemented and I still affected by the freeze, i can try again.

from qrandbarcodescanner.

IdreesM0 avatar IdreesM0 commented on May 26, 2024

Im having this issue as well. The app freezes right after the launch and after a delay reports fhat it "Failed to connect to camera service". It worked the first time but after that, I haven't been able to make it work. Really want to use this open source app over the miui native one.

Xiaomi mi 11 lite, miui 12

from qrandbarcodescanner.

waldgirgl avatar waldgirgl commented on May 26, 2024

Same for me, sometimes. First time after reboot I'm able to use it as long as I want, but from the second start on I get the issues reported in this thread.

Mi 9T, MIUI 12.0.5

from qrandbarcodescanner.

cbiere avatar cbiere commented on May 26, 2024

Me too. No other app accessing the camera seems to have this issue. I don't use ANXCamera, Magisk or any module. The device is not rooted only unlocked. Installed cameras are Open Camera, GCam and whatever simple default Camera app comes with ArrowOS. I tried to disable the latter but it didn't help and Kee Notes seems to rely on it.

Workaround: Force kill all apps using the camera, clear cache of them and try again.

Device: Xiaomi Redmi Note 10 Pro (sweet)
OS: ArrowOS 12.1 (Android 12)

from qrandbarcodescanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.