-
Notifications
You must be signed in to change notification settings - Fork 554
Card IO on iOS, cannot scan ID cards #89
Comments
@biksappdev in either |
@biksappdev I'm not aware of any recent change in our library that would have such an effect. How old a version of card.io were you using previously? |
@dgoldman-ebay , earlier version used was 3.6.3. |
Well, that was 16 versions ago. I don't see anything relevant in the release notes, but it's certainly possible that in dealing with some screen orientation or other issues we might have made some small tweaks to our layout code. (Is it possible that you formerly tested only with 3.5" screens, and this is the first time you are using a 4" screen?) In any case, the position of the card.io overlay elements is (essentially) hard-coded. So I think you just need to adjust the vertical positioning of your app's UI elements here until they appear as you desire. |
@dgoldman-ebay , Even if I change the position of my custom UI elements it has no effect when set as the 'scanOverlayView' property. Is this the right way to set it up ? |
Ah, you are using We have not been paying much attention to these special-build properties as we have been updating card.io. So it's certainly possible that something has changed in the way the rest of the code interacts with the Hmm. I've just taken a look at our use of I think you can probably continue to use your existing overlay view (although the flash-on/off button is obsolete these days for card.io), but you will need to adjust its margins or constraints so that it lines up correctly with our overlay elements. |
Thanks for your help, its all resolved and working great now. Thanks a lot @dgoldman-ebay :) |
:) |
Hi Dave @dgoldman-ebay , I am working on integrating Card IO library in my application to the latest 4.0.0 version. As per the new library, I do not see the property, 'detectCardOnly' in the latest framework and therefore I am unable to scan normal ID cards in my app which was happening earlier. Is there any replacement for this property or was it deliberately removed and Card IO can not scan regular ID cards ? Kindly clarify.
The text was updated successfully, but these errors were encountered: