Git Product home page Git Product logo

card.io's People

Contributors

burnto avatar emgeee avatar highercomve avatar jimmyhsu avatar kenmickles avatar vkeepe 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

card.io's Issues

Lock orientation to landscape

How do I lock the orientation of the scanning overlay to landscape in iOS and Android?

card-io/card.io-iOS-SDK#117 mentions that the overlay should respect the layout settings of the app, however my app is set to landscape, and the scanning overlay still rotates to portrait on iOS, and Android.

Doesn't seem to scan few cards

The app doesn't seem to scan few cards such as AMEX, HSBC debit cards and other cards. Could you please advise what needs to be done for the same? The issue is presented both in IOS and Android

How to remove manually button on IOS

I need to remove manual button bottom in my app. I have use this code but "suppressManual" seems doesn't work for IOS (android it is ok):

CardIO.scan({
"expiry" : true,
"cvv" : false,
"zip" : false,
"suppressConfirm" : true,
"suppressManual" : true,
"hideLogo" : true
}, onCardIOComplete, onCardIOCancel);

capturar

Can anyone help me? Thanks in advance!

Fatal error: requestFeature() must be called before adding content

Hey, this works great on iOS but getting the following on Android:

E/AndroidRuntime(14335): FATAL EXCEPTION: main
E/AndroidRuntime(14335): Process: com.swoonbox.dev.scanner, PID: 14335
E/AndroidRuntime(14335): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.swoonbox.dev.scanner/io.card.payment.DataEntryActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
E/AndroidRuntime(14335):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
E/AndroidRuntime(14335):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
E/AndroidRuntime(14335):    at android.app.ActivityThread.access$800(ActivityThread.java:155)
E/AndroidRuntime(14335):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
E/AndroidRuntime(14335):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(14335):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(14335):    at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime(14335):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(14335):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(14335):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime(14335):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
E/AndroidRuntime(14335): Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
E/AndroidRuntime(14335):    at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:302)
E/AndroidRuntime(14335):    at android.app.Activity.requestWindowFeature(Activity.java:3615)
E/AndroidRuntime(14335):    at io.card.payment.ui.ActivityHelper.addActionBarIfSupported(ActivityHelper.java:29)
E/AndroidRuntime(14335):    at io.card.payment.DataEntryActivity.onCreate(DataEntryActivity.java:395)
E/AndroidRuntime(14335):    at android.app.Activity.performCreate(Activity.java:6010)
E/AndroidRuntime(14335):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
E/AndroidRuntime(14335):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
E/AndroidRuntime(14335):    ... 10 more
W/ActivityManager(  832):   Force finishing activity 1 com.swoonbox.dev.scanner/io.card.payment.DataEntryActivity
W/ActivityManager(  832):   Force finishing activity 2 com.swoonbox.dev.scanner/io.card.payment.CardIOActivity

Also posting this on the Android SDK repo but if you have any ideas that would be a great help. Thank you.

Issues with iOS 10 / Cordova build.

This plugin has worked brilliantly for us so far. Unfortunately our latest build with Cordova 6.3.1 and Xcode 8, deploying to iOS 10, is having problems.

First we had to get past a problem where invoking window.CardIO.scan would result in the script engine infinitely complaining about refusing to load gap://ready. This was easy to overcome by adding gap: to our Content-Security-Policy tag.

Now when we invoke window.CardIO.scan the app crashes.

Will continue to analyze, please let me know if there is anything I can do to help.

Using this with ionic?

Hi,

I've tried to add the plugin into a ionic project, but it seems like it is unable to reference to CardIO

CardIO is not definedCardIO is not defined

Anyone succeed using ionic?

Thanks :)

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.