-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.xml
More file actions
52 lines (41 loc) · 2.29 KB
/
plugin.xml
File metadata and controls
52 lines (41 loc) · 2.29 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-scratch" version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>ScratchPlugin</name>
<js-module name="ScratchPlugin" src="www/ScratchPlugin.js">
<clobbers target="ScratchPlugin" />
</js-module>
<platform name="android">
<!-- Scratchcard -->
<framework src="com.goibibo.libs:scratchcardview:0.1.6" />
<!-- Picasso -->
<framework src="com.squareup.picasso:picasso:2.71828" />
<!-- NAtive Api -->
<framework src="com.android.support:cardview-v7:28.0.0" />
<framework src="com.android.support:design:28.0.0" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="ScratchPlugin">
<param name="android-package" value="com.hitmacreed.plugin.Main" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:label="Scratch" android:name="com.hitmacreed.plugin.Scratch" android:allowBackup="false" android:usesCleartextTraffic="true"></activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
</config-file>
<source-file src="src/android/Main.java" target-dir="src/com/hitmacreed/plugin" />
<source-file src="src/android/Scratch.java" target-dir="src/com/hitmacreed/plugin" />
<source-file src="src/android/res/drawable/scratch_card.png" target-dir="res/drawable"/>
<source-file src="src/android/res/drawable/white.jpg" target-dir="res/drawable"/>
<source-file src="src/android/res/drawable/winner.jpg" target-dir="res/drawable"/>
<source-file src="src/android/res/drawable/background.png" target-dir="res/drawable"/>
<source-file src="src/android/res/layout/activity_scratch.xml" target-dir="res/layout"/>
<source-file src="src/android/res/layout/lyt_hidden.xml" target-dir="res/layout"/>
<source-file src="src/android/res/layout/lyt_scratch.xml" target-dir="res/layout"/>
</platform>
</plugin>