-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
48 lines (48 loc) · 2.4 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
38
39
40
41
42
43
44
45
46
47
48
<?xml version='1.0' encoding='utf-8'?>
<plugin id="usabilla-cordova" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>UsabillaCordova</name>
<js-module name="UsabillaCordova" src="www/Usabilla.js">
<clobbers target="plugins.Usabilla" />
</js-module>
<platform name="android">
<dependency id="cordova-plugin-android-fragmentactivity"/>
<dependency id="cordova-plugin-androidx"/>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="UsabillaCordova">
<param name="android-package" value="com.usabilla.UsabillaCordova" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait"
android:name="com.usabilla.UsabillaActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
</activity>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
</config-file>
<framework src="androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"/>
<source-file src="src/android/activity/MainActivity.java" target-dir="src/com/usabilla"/>
<source-file src="src/android/UsabillaCordova.java" target-dir="src/com/usabilla" />
<source-file src="src/android/activity/FakeR.java" target-dir="src/com/usabilla"/>
<source-file src="src/android/activity/usabilla_activity.xml" target-dir="res/layout"/>
<framework src="src/android/usabilla.gradle" custom="true" type="gradleReference" />
<hook type="after_plugin_install" src="scripts/android/afterPluginInstall.js"/>
<hook type="after_plugin_install" src="scripts/android/addResourcesClassImport.js" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="UsabillaCordova">
<param name="ios-package" value="UsabillaCordova" />
</feature>
</config-file>
<dependency id="cordova-plugin-cocoapod-support"/>
<dependency id="cordova-plugin-add-swift-support" version="2.0.2">
<preference name="UseSwiftLanguageVersion" value="4.0" />
</dependency>
<pods-config ios-min-version="9.0" use-frameworks="true"/>
<source-file src="src/ios/UsabillaCordova.swift" />
<pod name="Usabilla" spec="~>6.5"/>
</platform>
</plugin>