card.io-Android-source icon indicating copy to clipboard operation
card.io-Android-source copied to clipboard

Fix camera preview not showing on first launch

Open atanascu opened this issue 7 years ago • 2 comments

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

atanascu avatar Aug 02 '17 12:08 atanascu

@lkorth Hi Luke, can you have a look at this PR and if it's ok, merge it into the project ?

atanascu avatar Aug 16 '17 10:08 atanascu

Any update in this? Is this project still being maintained?

scorpeeon avatar Mar 07 '18 11:03 scorpeeon