-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·74 lines (55 loc) · 2.61 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.outsystems.plugins.appfeedback"
version="2.6.0">
<name>OutSystems AppFeedback</name>
<description>OutSystems AppFeedback plugin for Cordova applications</description>
<license>Apache 2.0</license>
<keywords>cordova,outsystems, appfeedback</keywords>
<repo></repo>
<issue></issue>
<engines>
<engine name="cordova" version=">=4.0.0"/>
</engines>
<js-module src="www/OSAppFeedback.js" name="OSAppFeedback">
<clobbers target="OSAppFeedback" />
</js-module>
<dependency id="cordova-plugin-network-information@1.3.0" />
<!-- Android -->
<platform name="android">
<!-- Config -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="OSAppFeedback">
<param name="android-package" value="com.outsystems.plugins.appfeedback.OSAppFeedback"/>
<param name="onload" value="true" />
</feature>
</config-file>
<!-- Source code -->
<source-file src="src/android/OSAppFeedback.java" target-dir="src/com/outsystems/plugins/appfeedback"/>
<source-file src="src/android/OSAppFeedbackListener.java" target-dir="src/com/outsystems/plugins/appfeedback"/>
<!-- Gradle script -->
<framework src="src/android/osappfeedback.gradle" custom="true" type="gradleReference"/>
<!-- App Feedback framework -->
<resource-file src="src/android/MobileECT/MobileECT.aar" target="libs/MobileECT.aar" />
</platform>
<!-- ios -->
<platform name="ios">
<!-- Declare Microphone Usage for iOS10+ -->
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>We access your microphone to record your feedback.</string>
</config-file>
<dependency id="cordova-plugin-screen-orientation@1.4.2" />
<config-file target="config.xml" parent="/*">
<feature name="OSAppFeedback">
<param name="ios-package" value="OSAppFeedback"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/OSAppFeedback.h"/>
<source-file src="src/ios/OSAppFeedback.m"/>
<!-- App Feedback framework -->
<framework src="src/ios/MobileECT/OutSystemsMobileECT.framework" custom="true" />
<resource-file src="src/ios/MobileECT/OutSystemsMobileECT.bundle"/>
<hook type="before_plugin_install" src="hooks/ios/before_plugin_install.js"/>
</platform>
</plugin>