-
Notifications
You must be signed in to change notification settings - Fork 16
/
plugin.xml
37 lines (36 loc) · 2.18 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-qr-scanner" version="1.0.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-qr-scanner</name>
<js-module src="www/plugin.js" name="plugin">
<clobbers target="qrScanner" />
</js-module>
<platform name="android">
<framework src="build-extras.gradle" custom="true" type="gradleReference"/>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="qrScanner">
<param name="android-package" value="org.sunbird.QRScanner" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/org/sunbird/QRScanner.java" target-dir="src/org/sunbird/" />
<resource-file src="res/drawable/rounded_button.xml" target="res/drawable/rounded_button.xml"/>
<resource-file src="res/drawable/ic_scanqrdemo.png" target="res/drawable/ic_scanqrdemo.png" />
<resource-file src="res/drawable/ic_question.xml" target="res/drawable/ic_question.xml" />
<resource-file src="res/drawable/ic_qr_scanner_background.xml" target="res/drawable/ic_qr_scanner_background.xml" />
<resource-file src="res/drawable/ic_scan_onboarding.xml" target="res/drawable/ic_scan_onboarding.xml" />
<resource-file src="res/drawable/joyful_left_bottom_rounded.xml" target="res/drawable/joyful_left_bottom_rounded.xml" />
<resource-file src="res/drawable-xxhdpi/ic_action_arrow_left.png" target="res/drawable-xxhdpi/ic_action_arrow_left.png" />
<resource-file src="res/drawable-xxhdpi/ic_action_arrow_right.png" target="res/drawable-xxhdpi/ic_action_arrow_right.png" />
<resource-file src="res/layout/qr_scanner_dialog.xml" target="res/layout/qr_scanner_dialog.xml" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="qrScanner">
<param name="ios-package" value="QRScannerPlugin" />
</feature>
</config-file>
<source-file src="src/ios/QRScannerPlugin.swift" />
</platform>
</plugin>