Card.io在Android上不显示在释放模式扫描选项 [英] Card.io on Android doesn't show scan option in release mode

查看:383
本文介绍了Card.io在Android上不显示在释放模式扫描选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个Android应用程序与Card.IO集成在里面。
它工作正常,在调试模式,并显示扫描选项,然而,当我们做一个发布版本,扫描选项消失了,取而代之的是用户只能手动输入卡号,这不是我们所需要的。

当我们作出的发行版本,我们在Android清单文件中指定的:

 <应用机器人:可调试=假...

和写在我们添加文档以下到的ProGuard文件:

  -keep类io.card。**
-keepclassmembers类io.card。** {
    *;
}


我们发布的与修复这个问题card.io Android SDK中card.io 3.1.3 。请随时在 GitHub的如果你仍然需要打开一个问题更多帮助。谢谢!

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.** {
    *;
}

解决方案

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!

这篇关于Card.io在Android上不显示在释放模式扫描选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆