Giter Club home page Giter Club logo

paycards_android's Introduction

PAY.CARDS RECOGNIZER

Automatic recognition of bank card data using built-in camera on Android devices.

See live demo: pay.cards

Installation

  • Add Maven URL for the pay.cards repository to your project build.gradle file.

    repositories {
         maven { url "https://pay.cards/maven" }
    }
  • Add the dependency

    dependencies {
        implementation 'cards.pay:paycardsrecognizer:1.1.0'
    }

Usage

Build an Intent using the ScanCardIntent.Builder and start a new activity to perform the scan:

static final int REQUEST_CODE_SCAN_CARD = 1;
 
...
     
private void scanCard() {
  Intent intent = new ScanCardIntent.Builder(this).build();
  startActivityForResult(intent, REQUEST_CODE_SCAN_CARD);
}

Handle the result:

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode == REQUEST_CODE_SCAN_CARD) {
        if (resultCode == Activity.RESULT_OK) {
            Card card = data.getParcelableExtra(ScanCardIntent.RESULT_PAYCARDS_CARD);
            String cardData = "Card number: " + card.getCardNumberRedacted() + "\n"
                            + "Card holder: " + card.getCardHolderName() + "\n"
                            + "Card expiration date: " + card.getExpirationDate();
            Log.i(TAG, "Card info: " + cardData);
        } else if (resultCode == Activity.RESULT_CANCELED) {
            Log.i(TAG, "Scan canceled");
        } else {
            Log.i(TAG, "Scan failed");
        }
    }
}

License

MIT License

Copyright (c) 2017 faceterteam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

paycards_android's People

Contributors

alexey0xdc avatar faceterio avatar ghostfacekillah avatar matpockih avatar vitkuzmenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paycards_android's Issues

CardIO windowed mode

Can I embed cardio layout inside my layout as a fragment not full screen mode.

Extend the program to support 19-bit bank cards

At present, payCards can only scan the credit card. I hope to expand this project to reach the bank card that supports printing, and the number of bank card Numbers can be between 16 and 19. What do I need to do? Can you give me some advice?

SCAN CARD Button not working!!!

When I tried play store app, it works fine. But, When I tried demo project & install apk to my phone, the scan card button didn't open the camera to scan cards. Any solution?

Outdated appcompat dependency

When I try to compile from compile 'cards.pay:paycardsrecognizer:1.0.0'
I get the error:

Error:Failed to resolve: com.android.support:appcompat-v7:26.0.0

26.0.1 seems to work for me when i manually import the sdk, but updating it here would make it a lot easier :)

Error running the project

Hello

I just download this repo, install the NDK, CMake, etc.
When I try to sync the gradle configuration of the project I receive this message:
"External Native Build Issues: Error configuring"

Any idea to fix this?

Thanks

Custom UI scan card

This is a amazing lib to scan creditcard. But i have a question, how can i change the ui scan? Maybe add more button like allow user can capture or add some logo?
Thank so much for your help!

Expiry Date Always Null

Hello Guys!
I appreciate your efforts of developing such a nice library. I am not getting expiry date, it returning null always. I used setExpiryDate(true) in the intent still I am getting null. (Android Lollipop)

RecognitionUnavailableException

The app in the play store works on the target device, but when I try to integrate gradle dependency into my project and run on same device, I get the following exception. Any ideas or suggestions on how I can resolve this?

=======================================================
ScanCardActivity: Scan card failed
java.lang.RuntimeException: onScanCardFinishedWithError()
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onScanCardFailed(ScanCardActivity.java:72)
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36)
at android.app.Activity.performCreate(Activity.java:6975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: cards.pay.paycardsrecognizer.sdk.camera.RecognitionUnavailableException: Unsupported architecture
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36) 
at android.app.Activity.performCreate(Activity.java:6975) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593) 
at android.os.Handler.dispatchMessage(Handler.java:105) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6541) 

Scan card failed

I am using Nokia 3, Oreo

2018-10-10 13:16:52.901 com.quellxcode.veasecustomer E/ScanCardActivity: Scan card failed
java.lang.RuntimeException: onScanCardFinishedWithError()
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onScanCardFailed(ScanCardActivity.java:72)
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36)
at android.app.Activity.performCreate(Activity.java:6975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2844)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2969)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1658)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:206)
at android.app.ActivityThread.main(ActivityThread.java:6733)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845)
Caused by: cards.pay.paycardsrecognizer.sdk.camera.RecognitionUnavailableException: Unsupported architecture
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36) 
at android.app.Activity.performCreate(Activity.java:6975) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2844) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2969) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1658) 
at android.os.Handler.dispatchMessage(Handler.java:108) 
at android.os.Looper.loop(Looper.java:206) 
at android.app.ActivityThread.main(ActivityThread.java:6733) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845) 

add more fonts

It is not able to detect card details of some banks card with a different font family. Is there any way to add more font families to the sdk.

Assets size

Hi guys! You create amazing lib to scan creditcard! Thanks!

I have a question: can I reduce the assets size? I analyzed my release bundle and cardrecognizer model weighs 7.1 MB. It so large =(

Maybe I can exclude some dependencies(eg NameRecognition - I don't need it). Or maybe you can split models to different dependencies and developers will be able to pull up only needed models. Or maybe you know third way??

I can move lib to dynamic feature, but this will negatively affect the UX in my app therefore it will not suit me =(

Best regards

nothing happen with android8

i'm using paycards in my app, in android8 when click on button to start scan intent, nothing happen, can any one help

androidx not supported

This library not supported to android x. How to convert support library to androidx. I have tried this library to convert in androidx. I am having following issue. Provided below stacktree for that:

2019-06-25 15:56:29.661 24894-24894/com.myapplication E/ScanCardActivity: Scan card failed
    java.lang.RuntimeException: onScanCardFinishedWithError()
        at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onScanCardFailed(ScanCardActivity.java:71)
        at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36)
        at android.app.Activity.performCreate(Activity.java:7032)
        at android.app.Activity.performCreate(Activity.java:7023)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1236)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2943)
        at android.app.ActivityThread.-wrap11(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1630)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6626)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
     Caused by: cards.pay.paycardsrecognizer.sdk.camera.RecognitionUnavailableException: Unsupported architecture
        at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36) 
        at android.app.Activity.performCreate(Activity.java:7032) 
        at android.app.Activity.performCreate(Activity.java:7023) 
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1236) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2943) 
        at android.app.ActivityThread.-wrap11(Unknown Source:0) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1630) 
        at android.os.Handler.dispatchMessage(Handler.java:106) 
        at android.os.Looper.loop(Looper.java:164) 
        at android.app.ActivityThread.main(ActivityThread.java:6626) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811) 

unionpay card

i use this app can scan visa card.
but i can not scan jcb,unionpay card,this is why?

Can't scan card from demo app

I installed the demo app from play store.
Then I clicked scan card button, scan the card, but not happened

Code project can't run

Amex Card Scanning Doesn't work!!!

I tried scanning with Mastercard (16 digits 4+4+4+4) and Visa (16 digit) which works pretty well. But American Express (15 digits 4+6+5) is not working.

Secure Data?

Just curious, I would like to use this SDK but I want to make sure no data is being transferred to any third party vendor. Is this safe to use and all data will be local on the device?

Upload SDK

Capture Scanned Card Image

I am trying to capture image of scanned card but I am not getting how to get it.

Please help me finding out the same.

Other card type recognization

I'm developing an app for other card.
It has its own card but the number doesn't fit numberWindowRect.
I tried to change the coordinates but it still doesn't work.

Could you please give me some information about the variables in your recognize classes?

Retrain CNNs

I want to retrain CNNs using my samples then test by my own inputs but I don't know how, please show me.
Thanks

Cannot integrate PayCard into Android

Hi,
I'm using android studio 3.0 Canray 1 and 3.1. I have tried to integrate Pay Card SDK into my application. i have added sdk as a Module and added needed gradle files and gradle repository. Finally i got following issue. I didn't use NDK in my project. But in your SDK that is available. and I have installed NDK too.

  1. *** Android NDK: APP_STL gnustl_static is no longer supported. Please switch to either c++_static or c++_shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information. .
  2. *** Android NDK: Invalid NDK_TOOLCHAIN_VERSION value: 4.9. GCC is no longer supported. See https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md. .
    Please reply soon.

Why not you apply the technique to read letters for reading digits?

Hi
I can see that you fix the numbers of digit is 16 and group into 4 groups.
However, the letter (card's holder name) cannot be fix like that, so why not you apply the technique to read letters for reading digits.
The reason behind this is I want to read different kinds of card which are not always 16-4 groups. For example I want to read 19 digit-cards and divide into 3 groups

And one more question,
I did not see the part you import the solver file and training phase. From the prototxt file, I successfully built the model which is exactly the same as yours.
But I impossibly find the code where you train the model. Am I understanding something wrong?
Regards,
HienXinh

Buffer Overflow ISsue

Hi,
We could locate a lot of buffer overflow, Improper Null Termination, Off_By_One vulnerabilities in the cpp files.

Would like to know your comments on these.

Thanks.

Pom file from maven repo now returning a bunch of html, breaking all builds.

Similar issue to: #49

Pom file is unavailable:

     Required by:
         project :app > de.idnow.sdk:idnow-android-sdk:4.3.2
      > Skipped due to earlier error
      > Could not resolve com.googlecode.libphonenumber:libphonenumber:8.10.9.
         > Could not parse POM http://pay.cards/maven/com/googlecode/libphonenumber/libphonenumber/8.10.9/libphonenumber-8.10.9.pom
            > The markup in the document preceding the root element must be well-formed.

HTML is returned instead of .pom file.

Bundle parse exception "Class not found when unmarshalling"

So far I only tried on one test device (Samsung Galaxy S7, SM-G930F, Android 8.0.0, API 28) and it throws the Exception you see below.

I used the normal code from the start page, but from a fragment, so I have getContext() instead of this:

Intent intent = new ScanCardIntent.Builder(getContext()).build();
startActivityForResult(intent, REQUEST_SCAN_PAY_CARDS);

Am I doing it wrong? Is it worth getting more devices to test? Is Android 8 the problem? How can I narrow it down further?

short version:

E/Parcel: Class not found when unmarshalling: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
     Caused by: java.lang.ClassNotFoundException: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
2018-10-25 11:30:24.888 3646-11214/? W/Bundle: Failed to parse Bundle, but defusing quietly
    android.os.BadParcelableException: ClassNotFoundException when unmarshalling: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest

long version:

2018-10-25 11:30:24.888 3646-11214/? E/Parcel: Class not found when unmarshalling: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
    java.lang.ClassNotFoundException: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
        at java.lang.Class.classForName(Native Method)
        at java.lang.Class.forName(Class.java:453)
        at android.os.Parcel.readParcelableCreator(Parcel.java:2835)
        at android.os.Parcel.readParcelable(Parcel.java:2789)
        at android.os.Parcel.readValue(Parcel.java:2692)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3059)
        at android.os.BaseBundle.unparcel(BaseBundle.java:257)
        at android.os.BaseBundle.getString(BaseBundle.java:1086)
        at android.content.Intent.getStringExtra(Intent.java:7706)
        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:468)
        at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:419)
        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1308)
        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6034)
        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5886)
        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:121)
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3862)
        at android.os.Binder.execTransact(Binder.java:682)
     Caused by: java.lang.ClassNotFoundException: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:1355)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:1415)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at java.lang.Class.classForName(Native Method) 
        at java.lang.Class.forName(Class.java:453) 
        at android.os.Parcel.readParcelableCreator(Parcel.java:2835) 
        at android.os.Parcel.readParcelable(Parcel.java:2789) 
        at android.os.Parcel.readValue(Parcel.java:2692) 
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3059) 
        at android.os.BaseBundle.unparcel(BaseBundle.java:257) 
        at android.os.BaseBundle.getString(BaseBundle.java:1086) 
        at android.content.Intent.getStringExtra(Intent.java:7706) 
        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:468) 
        at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:419) 
        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1308) 
        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6034) 
        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5886) 
        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:121) 
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3862) 
        at android.os.Binder.execTransact(Binder.java:682) 
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
2018-10-25 11:30:24.888 3646-11214/? W/Bundle: Failed to parse Bundle, but defusing quietly
    android.os.BadParcelableException: ClassNotFoundException when unmarshalling: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
        at android.os.Parcel.readParcelableCreator(Parcel.java:2863)
        at android.os.Parcel.readParcelable(Parcel.java:2789)
        at android.os.Parcel.readValue(Parcel.java:2692)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3059)
        at android.os.BaseBundle.unparcel(BaseBundle.java:257)
        at android.os.BaseBundle.getString(BaseBundle.java:1086)
        at android.content.Intent.getStringExtra(Intent.java:7706)
        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:468)
        at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:419)
        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1308)
        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6034)
        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5886)
        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:121)
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3862)
        at android.os.Binder.execTransact(Binder.java:682)

Could you please update library as in ios?

I am opening the issue but I know it's not an issue it's question.

Recently I used ios library and you did some changes there in cpp files and it starts working.

Can you update the same changes in android cpp files as well?

Does it work only on armeabi-v7a?

Recently I found that scannerSDK has

 externalNativeBuild {
            ndkBuild {
                abiFilters 'armeabi-v7a'
                arguments "--jobs=${Runtime.runtime.availableProcessors().toString()}"
            }
        }

When I am running on x86 devices it couldn't compile at all.
When I am adding

abiFilters 'armeabi-v7a', 'x86'
gradle build failing.

What could I do here to add support all devices? (armeabi,x86, armeabi-v7 etc) ?

Poor performance on GS8

On the Samsung GS8, Sometimes it will take a minute or even more before the scanner locks onto an image and stops scanning.
How would I go about improving the performance of the scanning?
Can you suggest which files I should look at ?

No version of NDK matched the requested version 20.0.5594570.

Encountering the following CI build failure when including the PayCards_Android library in Android Studio 3.6 RC1, which uses gradle build tools version 3.6.0-rc01:

Caused by: com.android.builder.errors.EvalIssueException: No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669

This can be replicated by creating a project in Android Studio 3.6.0 RC1, adding the PayCards library, and building the project with ./gradlew build. When executed from Android Studio the build will succeed, but you will see the following warnings, but when built from CI tooling (GitHub Actions in my case) the build fails.

> Task :app:stripAppDebugSymbols
WARNING: Compatible side by side NDK version was not found. Default is 20.0.5594570.
Compatible side by side NDK version was not found. Default is 20.0.5594570.
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libc++_shared.so, libc++_shared.so, libc++_shared.so, libcardrecognizer.so, libcardrecognizer.so, libcardrecognizer.so, libcardrecognizer.so.

Google Issue that may be related: https://issuetracker.google.com/issues/143630825

Separate card content recognition logic and view related logic to two separate libraries

Hi,

as you noticed, some guys including me, are waiting for new features like AmEx support, adding new fonts or scanning Activity customization. For now, existing SDK does not support Fragment or View implementation, only Activity in very limited way I would like to ask you if it would be possible to get only recognition part (ndk related staff) of paycards-sdk to create my own scanning view implementation.

Separation of view and business logic also would allow user to support different card fonts or numbers of digits (including AmEx).

What do you think of this idea? Looking forward to hearing from you.

Have a nice day,
Piotr

Cannot build on AVD.

While uploading the built APK on an AVD (using Google Pixel XL on API28) the installation raises the following error :

INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

It seems it comes from the native libraries that aren't available on the CPU architecture verison of the phone (AVD in that case).
Didn't had trouble using my personnal phone though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.