Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Switch to <framework> tag #78

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 14 additions & 30 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
<name>CardIO</name>
<description>This plugin allows to add to add CardIO to your application using CardIO Native library</description>
<license>MIT License, see LICENSE.md for details</license>

<engines>
<engine name="cordova" version="&gt;=3.0.0" />
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=7.0.0"/>
<engine name="cordova-ios" version=">=5.0.0"/>
</engines>


Expand All @@ -29,34 +32,14 @@
<header-file src="src/ios/CardIOCordovaPlugin.h" />
<source-file src="src/ios/CardIOCordovaPlugin.m" />

<!-- CardIO library -->
<header-file src="src/ios/CardIO/CardIO.h" />
<header-file src="src/ios/CardIO/CardIOCreditCardInfo.h" />
<header-file src="src/ios/CardIO/CardIODetectionMode.h" />
<header-file src="src/ios/CardIO/CardIOPaymentViewController.h" />
<header-file src="src/ios/CardIO/CardIOPaymentViewControllerDelegate.h" />
<header-file src="src/ios/CardIO/CardIOUtilities.h" />
<header-file src="src/ios/CardIO/CardIOView.h" />
<header-file src="src/ios/CardIO/CardIOViewDelegate.h" />
<source-file src="src/ios/CardIO/libCardIO.a" framework="true" />
<source-file src="src/ios/CardIO/libopencv_core.a" framework="true" />
<source-file src="src/ios/CardIO/libopencv_imgproc.a" framework="true" />

<!-- link libraries for CardIO -->
<framework src="Accelerate.framework" />
<framework src="AudioToolbox.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />
<framework src="Foundation.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="OpenGLES.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="UIKit.framework" />
<framework src="libc++.dylib" />

<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods>
<pod name="CardIO" spec="~> 5.4.1" />
</pods>
</podspec>
</platform>

<!-- android -->
Expand All @@ -69,7 +52,8 @@
</config-file>

<source-file src="src/android/CardIOCordovaPlugin.java" target-dir="src/io/card/cordova/sdk" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />

<framework src="io.card:android-sdk:5.5.0" />

</platform>

Expand Down
1 change: 0 additions & 1 deletion src/PayPalMobileCordovaPlugin.java

This file was deleted.

7 changes: 0 additions & 7 deletions src/android/build.gradle

This file was deleted.

16 changes: 0 additions & 16 deletions src/ios/CardIO/CardIO.h

This file was deleted.

7 changes: 0 additions & 7 deletions src/ios/CardIO/CardIO.m

This file was deleted.

85 changes: 0 additions & 85 deletions src/ios/CardIO/CardIOCreditCardInfo.h

This file was deleted.

19 changes: 0 additions & 19 deletions src/ios/CardIO/CardIODetectionMode.h

This file was deleted.

Loading