-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
40 lines (34 loc) · 2.04 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
<?xml version="1.0" encoding="utf-8" ?>
<plugin id="com.huawei.hmsmapplugin" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>HMSMapPlugin</name>
<js-module name="HMSMapPlugin" src="www/HMSMapPlugin.js">
<clobbers target="cordova.plugins.HMSMapPlugin" />
</js-module>
<platform name="android">
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<resource-file src="src/android/res/activity_maps.xml" target="res/layout/activity_maps.xml" />
<resource-file src="src/android/res/badge_ph.jpg" target="res/drawable/badge_ph.jpg" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="HMSMapPlugin">
<param name="android-package" value="com.huawei.hmsmapplugin.HMSMapPlugin" />
</feature>
</config-file>
<framework src="com.huawei.hms:maps:4.0.0.302" />
<framework src="androidx.appcompat:appcompat:1.1.0" />
<framework src="androidx.constraintlayout:constraintlayout:1.1.3" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.huawei.hmsmapplugin.MapsActivity"
android:theme="@style/Theme.AppCompat">
</activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</config-file>
<source-file src="src/android/HMSMapPlugin.java" target-dir="src/com/huawei/hmsmapplugin" />
<source-file src="src/android/MapsActivity.java" target-dir="src/com/huawei/hmsmapplugin" />
</platform>
</plugin>