daruwanov / angular-cordova-cardio Goto Github PK
View Code? Open in Web Editor NEWAngular Module for cordova cardIO plugin (http://plugins.cordova.io/#/package/com.keepe.cardio)
License: MIT License
Angular Module for cordova cardIO plugin (http://plugins.cordova.io/#/package/com.keepe.cardio)
License: MIT License
As the title says, im getting unknown provider. I also noticed another issue when installing, and that may be the cause of this issue. Here is the console
Fetching plugin "https://github.com/vkeepe/card.io.git" via git clone
Repository "https://github.com/vkeepe/card.io.git" checked out to git ref "maste
r".
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\a
cknowledgments.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\a
cknowledgments.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\L
ICENSE.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\a
cknowledgments.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\L
ICENSE.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\p
ackage.json
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\a
cknowledgments.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\L
ICENSE.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\p
ackage.json
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\p
lugin.xml
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\a
cknowledgments.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\L
ICENSE.md
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\p
ackage.json
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\p
lugin.xml
cp: dest file already exists: K:\apps\zumedic\zumedic\plugins\com.keepe.cardio\R
EADME.md
skipping existing file: cdv-plugin-after-install-ios.js
skipping existing file: CardIO.java
skipping existing file: CardIOMain.java
skipping existing file: libcardioDecider.so
skipping existing file: libcardioRecognizer.so
skipping existing file: libcardioRecognizer_tegra2.so
skipping existing file: libopencv_core.so
skipping existing file: libopencv_imgproc.so
skipping existing file: libcardioDecider.so
skipping existing file: libcardioDecider.so
skipping existing file: libcardioRecognizer.so
skipping existing file: libcardioRecognizer_tegra2.so
skipping existing file: libopencv_core.so
skipping existing file: libopencv_imgproc.so
skipping existing file: card.io.jar
skipping existing file: libcardioDecider.so
skipping existing file: libcardioDecider.so
skipping existing file: release_notes.md
skipping existing file: libcardioDecider.so
skipping existing file: libcardioRecognizer.so
skipping existing file: libcardioRecognizer_tegra2.so
skipping existing file: libopencv_core.so
skipping existing file: libopencv_imgproc.so
skipping existing file: libcardioDecider.so
skipping existing file: libcardioRecognizer.so
skipping existing file: libcardioRecognizer_tegra2.so
skipping existing file: libopencv_core.so
skipping existing file: libopencv_imgproc.so
skipping existing file: CardIO.h
skipping existing file: CardIOCreditCardInfo.h
skipping existing file: CardIODetectionMode.h
skipping existing file: CardIOPaymentViewController.h
skipping existing file: CardIOPaymentViewControllerDelegate.h
skipping existing file: CardIOUtilities.h
skipping existing file: CardIOView.h
skipping existing file: CardIOViewDelegate.h
skipping existing file: libCardIO.a
skipping existing file: libCardIO.a.zip
skipping existing file: release_notes.txt
skipping existing file: CardIOCordovaPlugin.h
skipping existing file: CardIOCordovaPlugin.m
skipping existing file: cdv-plugin-card-io.js
Plugin "com.keepe.cardio" already installed on android.
Installing "com.keepe.cardio" for ios
exec error: Error: Command failed: C:\Windows\system32\cmd.exe /s /c "unzip -f p
lugins/com.keepe.cardio/src/ios/CardIO/libCardIO.a.zip -d plugins/com.keepe.card
io/src/ios/CardIO/"
'unzip' is not recognized as an internal or external command,
operable program or batch file.
Failed to install 'com.keepe.cardio':undefined
Error: Operation failed
I notice that even after this, the files (or most of them?) are in my plugins folder. Any idea how to resolve this issue?
cordova plugin add https://github.com/vkeepe/card.io.git
Fetching plugin "https://github.com/vkeepe/card.io.git" via git clone
Repository "https://github.com/vkeepe/card.io.git" checked out to git ref "master".
Error: Failed to fetch plugin https://github.com/vkeepe/card.io.git via git.
Either there is a connection problems, or plugin spec is incorrect:
Error: Invalid character in entity name
Line: 8
Column: 114
Char:
Hi,
I've added the plugin, but when I'm trying to call the CardIO function, i encountered the error following error:
$cordovaNgCardIOProvider is not defined
Any help will be appreciated.
Thank you :)
Plugin repository https://github.com/vkeepe/card.io.git seems to be not supported by author anymore.
Original repo https://github.com/card-io/card.io-Cordova-Plugin still active, but plugin has little bit different settings and response fields. Also it works well without any settings (has own defaults), so you can simplify your code.
Response field array also seems to be unnecessary, but long date to short date conversion option can be useful.
By default Cordova plugin return year in 4 digit format. Need extend return data in angular side before resolving the promise, to return year in 2 last digit format.
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.