procedurallygenerated / flutter_card_io Goto Github PK
View Code? Open in Web Editor NEWCard IO plugin for flutter iOS & Android
License: Other
Card IO plugin for flutter iOS & Android
License: Other
I am using a FutureBuilder with the scan card method, but when I finish the scan, the scan card screen shows again, I accept the new scan, but scan card screen shows again, the cycle never finishes until I cancel the scan. This is a snippet of my code:
Future<bool> _scanCard() async {
bool ok = false;
Map<String, dynamic> result = await FlutterCardIo.scanCard({
"requireExpiry": true,
"scanExpiry": true,
"requireCVV": false,
"requirePostalCode": false,
"restrictPostalCodeToNumericOnly": false,
"requireCardHolderName": false,
"scanInstructions": R.s("scanCardTitle")
});
ok = true;
}
@override
Widget build(BuildContext context) {
return FutureBuilder(future: _scanCard(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
if (snapshot.hasData) {
return _customBuilder(context);
}
else return CircularProgressIndicator();
});
}
I will be very thankful if anyone shares an idea or solution. Best regards.
We can pay for support in order to get a working and stable version of this plugin. Please contact me at [email protected]
hello, you know when this package will be able for flutter 2.10?
This is terrible, are you going to update this at all? This seems to be a widely needed plugin, but it is not maintained.
Has anyone got this working on Android API 25 and higher? I don't get the result from the Card.io activity.
Any ideas?
Thanks
Hi,
I am using the credit card scanner. However, it cannot read cardHolderName and after using the scanner for the first time, I cannot discard the scanned card image.
Is there a way to do this?
I compile every time in debug mode and I can run in my phone very well.
When compile with release mode, I cant start the APP on phone.
If remove dependecy, work again in release mode.
I have this line:
<uses-permission android:name="android.permission.CAMERA" >, it is not the case.
in dependencies:
flutter_card_io: git: url: https://github.com/procedurallygenerated/flutter_card_io.git
What more I need to work in release mode ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.