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

Smoothie camera is being used when app is minimized #982

Closed
jasmeet0817 opened this issue Jan 18, 2022 · 3 comments
Closed

Smoothie camera is being used when app is minimized #982

jasmeet0817 opened this issue Jan 18, 2022 · 3 comments

Comments

@jasmeet0817
Copy link
Contributor

On android you can now check if an app is using camera in the background, a green dot appears on the top right corner, which is there even when the app is minimized.

image

@jasmeet0817
Copy link
Contributor Author

Actually it turns off on it's own after 2-3 minutes of idleness (I think the system turns it off) but then if you come back to the app the camera doesn't start up again.

See:

image

@jasmeet0817
Copy link
Contributor Author

This looks fixed, but when the camera is on, the following logs are printed every second. Which means some processing is being done continuously.

D/TransportRuntime.SQLiteEventStore(12601): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct D/TransportRuntime.JobInfoScheduler(12601): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...

@M123-dev
Copy link
Member

M123-dev commented Jan 22, 2022

Looks like this is something that occurs to a lot of people, firebase/flutterfire#6140
maybe someone working on Firebase or ML Kit knows why this happens and maybe its already fixed but it's not that important as long as there are only a lot more logs.

(I always start my print messages with M123 and then just search the logs when this occurs to me)

Anyways, this issue is fixed and I'm keeping an eye on if we can stop this flood of messages

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

No branches or pull requests

3 participants