card.io-Android-source
card.io-Android-source copied to clipboard
Fix camera preview not showing on first launch
The preview appears once the surface is created and there is a callback for the creation. Except that the callback is registered in prepareScanner which is called after the SurfaceView is actually created. I can confirm because I registered callbacks in the Preview class and they where called before entering prepareScanner. So what I am doing is checking in the resumeScanning if the SurfaceView is valid.
https://github.com/card-io/card.io-Android-SDK/issues/189
@lkorth Hi Luke, can you have a look at this PR and if it's ok, merge it into the project ?
Any update in this? Is this project still being maintained?