-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
47 lines (45 loc) · 2.21 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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin id="com.dsoles.outsystems.plugin.background" version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>BackgroundThreadPlugin</name>
<description>Background Work Android/IOs</description>
<keywords>cordova,camera</keywords>
<engines>
<engine name="cordova" version=">=7.1.0" />
<engine name="cordova-android" version=">=6.3.0" />
</engines>
<js-module name="BackgroundThreadPlugin" src="www/BackgroundThreadPlugin.js">
<clobbers target="cordova.plugins.BackgroundThreadPlugin" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="BackgroundThreadPlugin">
<param name="android-package"
value="com.dsoles.outsystems.plugin.background.BackgroundThreadPlugin" />
</feature>
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="AndroidXEnabled" value="true" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
</config-file>
<source-file
src="src/android/com/dsoles/outsystems/plugin/background/BackgroundThreadPlugin.java"
target-dir="src/com/dsoles/outsystems/plugin/background" />
<framework src="libs/android/build.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="BackgroundThreadPlugin">
<param name="ios-package" value="BackgroundThreadPlugin" />
</feature>
</config-file>
<dependency id="cordova-plugin-add-swift-support" url="https://github.com/OutSystems/cordova-plugin-add-swift-support.git#2.0.3-OS1"/>
<source-file src="src/ios/BackgroundThreadPlugin.m" />
<header-file src="src/ios/BackgroundThreadPlugin.h" />
</platform>
</plugin>