2

is there a way to set the screenOrientation of io.card.payment.DataEntryActivity to be landscape? I tried to set it in Manifest but app crashed with error

             io.card.payment.DataEntryActivity requires attribute android:screenOrientation="portrait"

so, how could I customize this page? if I can't, is there a way that just delete this page? I think only credit card number should be enough for me and I don't need the expiration date.

Thanks

4

2 回答 2

3

I'm Jeff with the PayPal card.io team. The current DataEntryActivity does not support landscape, but we definitely should not be crashing. We've opened a bug for that issue.

Regarding the request to remove the activity altogether, we require this activity for users without cameras or otherwise unable to scan their card, and to review the card number captured. You can remove expiry through the intent extra like so:

scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_EXPIRY, false);
于 2013-05-07T17:33:00.333 回答
2

Since last SDK version, v3.1.3, you don't need show the confirmation screen. Just put this intent extra:

scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_CONFIRMATION, true);
于 2013-10-16T19:21:07.990 回答