Skip to content

Commit

Permalink
#16 Wont compile against Android 22
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jul 12, 2016
1 parent 967ad82 commit dcdb61f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
Binary file added lib/android/httpclient-4.5.2.jar
Binary file not shown.
Binary file added lib/android/httpcore-4.4.4.jar
Binary file not shown.
12 changes: 7 additions & 5 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.telerik.stripe" version="1.0.7" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="com.telerik.stripe" version="1.0.8" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Stripe</name>

<preference name="API_KEY" />
Expand Down Expand Up @@ -57,14 +57,16 @@
</config-file>

<config-file target="res/xml/config.xml" parent="/*">

<feature name="Stripe">
<param name="android-package" value="com.telerik.stripe.StripePlugin"/>
</feature>
<feature name="Stripe">
<param name="android-package" value="com.telerik.stripe.StripePlugin"/>
</feature>
</config-file>

<framework src="src/android/stripe.gradle" custom="true" type="gradleReference"/>

<lib-file src="lib/android/httpcore-4.4.4.jar" />
<lib-file src="lib/android/httpclient-4.5.2.jar" />

<source-file src="src/android/StripePlugin.java" target-dir="src/com/telerik/stripe" />

</platform>
Expand Down
6 changes: 5 additions & 1 deletion src/android/stripe.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
android {
useLibrary 'org.apache.http.legacy'
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
}
}

0 comments on commit dcdb61f

Please sign in to comment.