问题
We're developing an Android app with Card.IO integrated in it. It works fine in the debug mode and shows scan option, however when we make a release build, the scan option disappears and instead the user can only enter the card number manually and it's not what we need.
When we make the release build, we specify in the Android manifest file:
<application android:debuggable="false" ...
And as written in docs we add the following to the proguard file:
-keep class io.card.**
-keepclassmembers class io.card.** {
*;
}
回答1:
We released 3.1.3 of the card.io Android sdk card.io with a fix to this problem. Please feel free to open an issue on GitHub if you still require additional help. Thanks!
来源:https://stackoverflow.com/questions/19265792/card-io-on-android-doesnt-show-scan-option-in-release-mode