ai_barcode icon indicating copy to clipboard operation
ai_barcode copied to clipboard

Different behaviour in iOS vs. Android

Open ben04 opened this issue 5 years ago • 1 comments

Hi,

I'm currently playing around with this barcode scanner plugin, as it offers the most room for including it to another view. However, I found a different behaviour of your example code in iOS vs. Android:

  • iOS: When a barcode is scanned, the camera image stays active and just continues to display whatever you point it at.
  • Android: As soon as a barcode is scanned, the camera image freezes until you call the startCameraPreview() of the scannerController again.

Is there a way how both behave the same way?

I played around with the stop/startCamera and stop/startCameraPreview methods: Whereas on Android the camera image freezes as soon as any of the two stop methods is called, in iOS it does not freeze at all but it's just getting grey when stopCameraPreview is called. Is it possible to also freeze the camera image as soon as a barcode is scanned successfully on iOS?

Thanks in advance! Ben

ben04 avatar Feb 05 '20 08:02 ben04

Thank you very much for your feedback and attention we take this very seriously

Can I freeze the camera image after successfully scanning a barcode on iOS?

  • Although this issue is more complicated to handle, we will overcome several issues to optimize this feature to achieve the effect that the camera image can be frozen after successfully scanning the barcode on iOS

  • Our aim is to help developers make development more convenient and experience the beauty of programming!

  • We will accomplish this in the near future!

  • Thanks again for your feedback and attention, we will continue to update this plugin

pdliuw avatar Feb 05 '20 08:02 pdliuw