-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
28 lines (22 loc) · 1.28 KB
/
AndroidManifest.xml
File metadata and controls
28 lines (22 loc) · 1.28 KB
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="io.dcloud.hellouniappx">
<!-- 读取日历权限,用于演示权限申请监听API:uni.createRequestPermissionListener -->
<uses-permission android:name="android.permission.READ_CALENDAR"/>
<!-- 录音权限,用于演示获取录音权限API:uni.getAppAuthorizeSetting 返回的microphoneAuthorized属性值 -->
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<!-- Android8以上支持圆形应用图标icon_round -->
<application
android:roundIcon="@drawable/icon_round"
>
<!-- 注册 url schemes -->
<activity android:name="io.dcloud.uniapp.UniLaunchProxyActivity" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="hellouniappx"></data> <!-- 注册 hellouniappx:// 链接打开应用 -->
<data android:scheme="uniappxhello"></data> <!-- 注册 uniappxhello:// 链接打开应用 -->
</intent-filter>
</activity>
</application>
</manifest>