-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
33 lines (26 loc) · 1.27 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="org.apache.cordova.snackbar"
version="2.1.4">
<name>SnackBarPlugin</name>
<description>Cordova Plugin that displays android Snackbar</description>
<license>MIT</license>
<keywords>cordova,material design,snackbar</keywords>
<js-module src="www/snackbar.js" name="snackbarplugin">
<clobbers target="window.snackbarplugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SnackBarPlugin">
<param name="android-package" value="org.apache.cordova.snackbar.SnackBarPlugin"/>
</feature>
</config-file>
<edit-config file="AndroidManifest.xml" target="/manifest/application/activity[@android:name='MainActivity']" mode="merge">
<activity android:name="MainActivity" android:theme="@style/Theme.AppCompat.NoActionBar" />
</edit-config>
<framework src="com.android.support:appcompat-v7:+" />
<framework src="com.android.support:design:+" />
<source-file src="src/android/SnackBarPlugin.java" target-dir="src/org/apache/cordova/snackbar" />
</platform>
</plugin>