Open rombethor opened 3 weeks ago
I had the same issue . In IOS its working fine and in Android its crashing. If not calling double times its showing white area instead of camera (only in Android) . Any help is greatly appreciated
Probably related (or the same issue?) #170
Calling
cameraView.StartCameraAsync()
twice caused aNullReferenceException
on Android but not on Windows.While I know it is not supposed to be called twice, it had no effect on Windows but did not throw any intuitive exception on Android, testing on emulator and device. Perhaps it is idempotent in Windows but not in Android?
Code:
It seems that two exceptions were thrown, as follows: First:
Second:
If the call is idempotent in Windows, then really it should be in Android also. A more intuitive exception should be thrown if possible to inform the developer of their mistake.