Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Camera unfreeze is corrupting flash #162

Open
LeLunZ opened this issue Sep 29, 2020 · 3 comments
Open

Camera unfreeze is corrupting flash #162

LeLunZ opened this issue Sep 29, 2020 · 3 comments

Comments

@LeLunZ
Copy link

LeLunZ commented Sep 29, 2020

While using this package I got into a problem while using the flash.

steps to reproduce

  • activate flash
  • freeze camera (flash gets deactivated)
  • unfreeze camera after a short wait

What happens now?

The flash should be activated again. (its only flashing for a few milliseconds, then flash is getting deactivated)
Its in a weird state. When calling toogleFlash* again. The flash is still not active.
Then calling it again, activates the flash.

*here it seems like flash is active in code but not in the camera.

What should happen?

After reactivating the camera, the flash should go to its state before freezing camera.

@mikebuss
Copy link
Owner

Thanks @LeLunZ. What iOS version are you using and on what device model?

@LeLunZ
Copy link
Author

LeLunZ commented Sep 29, 2020

iOS 14.0.1, but also didn’t work in iOS 13.X
Some testing IPhone from our workplace.
I think something between 6s and 8.
Can check it the day after tomorrow.

@mikebuss
Copy link
Owner

mikebuss commented Oct 1, 2020

Sorry for the delay @LeLunZ. I am not longer actively maintaining this library, but if anyone reading this has a solution and wants to submit a pull request I will merge it in. Apologies for the inconvenience.

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

No branches or pull requests

2 participants