Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

White rectangle overlaps status bar on iOS after scanning #94

Open
paya-cz opened this issue Jun 21, 2018 · 0 comments
Open

White rectangle overlaps status bar on iOS after scanning #94

paya-cz opened this issue Jun 21, 2018 · 0 comments

Comments

@paya-cz
Copy link

paya-cz commented Jun 21, 2018

General information

  • SDK/Library version: card.io.cordova.mobilesdk 2.1.0 + Ionic 3 + Cordova + Angular2 + TypeScript
  • Platforms: iOS
  • Device OS Version and Device: iOS 11.4 on iPhone SE

Issue description

I use the following code to invoke Card.IO:

const options = <CardIOOptions>{
    requireExpiry: true,
    requireCVV: true,
    requirePostalCode: false,
    scanExpiry: true,
    hideCardIOLogo: true,
    keepApplicationTheme: true
};

return this.cardIO.scan(options);
  1. This code launches the camera screen.
  2. Then, rotate the phone to landscape mode (both primary/secondary landscape rotations produce the bug).
  3. Scan the following credit card:
    best-high-limit-business-credit-cards-outstanding-high-limit-business-credit-cards-card-template-6-best-free
  4. Another screen is brought up within Card.IO that prompts for expiry month/year and CVV. At this point, the phone is still landscape oriented.
  5. Rotate the phone to portrait orientation, and enter "12/20" and "123" for the values. Tap done.
  6. Card.IO is dismissed, but the iOS statusbar is covered by a white rectangle:
    rectangle
  7. Rotating the phone to landscape and back to portrait after Card.IO has been dismissed removes the white rectangle (as well as killing the app and relaunching it). I haven't found any other way to get rid of it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant