-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
60 lines (53 loc) · 3.31 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
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.outsystems.plugins.geolocation" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>OSGeolocationPlugin</name>
<description>OutSystems' cordova geolocation plugin</description>
<author>OutSystems Inc</author>
<js-module name="Geolocation" src="packages/cordova-plugin/dist/plugin.js">
<clobbers target="cordova.plugins.Geolocation" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="OSGeolocation">
<param name="android-package" value="com.outsystems.plugins.osgeolocation.OSGeolocation" />
<param name="onload" value="true" />
</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.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
</config-file>
<source-file src="packages/cordova-plugin/android/OSGeolocation.kt" target-dir="app/src/main/kotlin/com/outsystems/plugins/osgeolocation" />
<source-file src="packages/cordova-plugin/android/OSGeolocationPermissionEvents.kt" target-dir="app/src/main/kotlin/com/outsystems/plugins/osgeolocation" />
<source-file src="packages/cordova-plugin/android/OSGeolocationErrors.kt" target-dir="app/src/main/kotlin/com/outsystems/plugins/osgeolocation" />
<source-file src="packages/cordova-plugin/android/android-lib-debug.aar" target-dir="app/libs" />
<framework src="packages/cordova-plugin/android/build.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="OSGeolocation">
<param name="ios-package" value="OSGeolocation" />
</feature>
<preference name="SwiftVersion" value="5" />
</config-file>
<source-file src="packages/cordova-plugin/ios/OSGeolocationCallbackManager.swift" />
<source-file src="packages/cordova-plugin/ios/OSGeolocationConstants.swift" />
<source-file src="packages/cordova-plugin/ios/OSGeolocationError.swift" />
<source-file src="packages/cordova-plugin/ios/OSGeolocationModels.swift" />
<source-file src="packages/cordova-plugin/ios/OSGeolocationPlugin.swift" />
<source-file src="packages/cordova-plugin/ios/OSGLOCConfigurationModel+Accuracy.swift" />
<source-file src="packages/cordova-plugin/ios/OSGLOCPositionModel+JSONTransformer.swift" />
<framework src="packages/cordova-plugin/ios/OSGeolocationLib.xcframework" embed="true" custom="true" />
<!--podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="OSGeolocationLib" path="../../../ios-lib" />
</pods>
</podspec-->
</platform>
</widget>