card-io / card.io-Cordova-Plugin

card.io Cordova Plugin
Other
174 stars 146 forks source link

White rectangle overlaps status bar on iOS after scanning #94

Open paya-cz opened 6 years ago

paya-cz commented 6 years ago

General information

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.