Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Use maven reference to android-support-v4 library
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bektchiev committed Nov 27, 2015
1 parent df12102 commit fb0a4f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?><plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.barcodescanner"
version="1.3.1">
version="2.0.0">

<name>BarcodeScanner</name>
<description>You can use the BarcodeScanner plugin to scan different types of barcodes (using the device's camera) and get the metadata encoded in them for processing within your application.</description>
Expand Down Expand Up @@ -293,12 +293,7 @@
<string name="wifi_type_label">Type</string>
</config-file>

<!-- This would make the plugin build only with gradle on AB (cordova-android 4),
so to remain compatible with older build targets we're bundling the support lib instead (yuk!)..
this is a different version (newer) than the one in the PushNotification plugin btw.
<framework src="com.android.support:support-v4:+" /-->
<source-file src="src/android/android-support-v4.jar" target-dir="libs/"/>

<framework src="com.android.support:support-v4:+" />
<framework src="src/android/ignorelinterrors.gradle" custom="true" type="gradleReference"/>

</platform>
Expand Down
Binary file removed src/android/android-support-v4.jar
Binary file not shown.

0 comments on commit fb0a4f8

Please sign in to comment.