Hello!
I'm Dan Lee, a lead developer from South Korea.
While using your library, I encountered an error in the Android environment stating that the camera was already in use when trying to load the camera preview on a different screen. This issue was not present in the iOS environment.
Upon investigation, I discovered that even after cancelling the event subscription with cancel(), the camera remained open at the native level, preventing its use on other screens.
To resolve this error, I added a method to manually unbind the camera in the Android environment within the library source code and called it during dispose(). Other way, Adding this into cancel() method might be good also.
Thank you for developing such an excellent library.
Hello! I'm Dan Lee, a lead developer from South Korea.
While using your library, I encountered an error in the Android environment stating that the camera was already in use when trying to load the camera preview on a different screen. This issue was not present in the iOS environment.
Upon investigation, I discovered that even after cancelling the event subscription with cancel(), the camera remained open at the native level, preventing its use on other screens.
To resolve this error, I added a method to manually unbind the camera in the Android environment within the library source code and called it during dispose(). Other way, Adding this into cancel() method might be good also.
Thank you for developing such an excellent library.