143 lines
6.2 KiB
XML
143 lines
6.2 KiB
XML
<?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="com.dskj.cashly">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
<uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
<!-- <uses-permission android:name="android.permission.CALL_PHONE"/>-->
|
|
<uses-permission android:name="android.permission.CAMERA"
|
|
tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
|
|
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
tools:ignore="ProtectedPermissions" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
|
<uses-feature android:name="android.hardware.camera.front" />
|
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
|
|
|
|
|
<!-- 8.0+系统需要-->
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
<!--推送权限-->
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
|
|
<application
|
|
android:name="com.dskj.cashly.InitApp"
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:largeHeap="true"
|
|
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:requestLegacyExternalStorage="true"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppThemeLogin"
|
|
android:usesCleartextTraffic="true"
|
|
tools:replace="android:allowBackup,android:icon">
|
|
<!-- <meta-data-->
|
|
<!-- android:name="com.google.android.actions"-->
|
|
<!-- android:resource="@xml/animate" />-->
|
|
<meta-data
|
|
android:name="ScopedStorage"
|
|
android:value="true" />
|
|
<uses-library
|
|
android:name="org.apache.http.legacy"
|
|
android:required="false" />
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.StartUpActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true"
|
|
tools:replace="android:authorities">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths"
|
|
tools:replace="android:resource" />
|
|
</provider>
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.MainActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.HuanKuanInfoActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.LoanListActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.HomeActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.LoginActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.WelcomeActivity"
|
|
android:screenOrientation="portrait"
|
|
android:theme="@style/AppThemeWelcome"
|
|
android:exported="true"></activity>
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.ShenQingActivity"
|
|
android:launchMode="singleTask"
|
|
android:screenOrientation="portrait"
|
|
android:theme="@style/AppThemeLogin"
|
|
android:exported="true"></activity>
|
|
<activity
|
|
android:name="com.dskj.cashly.ui.activity.XiangQingActivity"
|
|
android:launchMode="singleTop"
|
|
android:screenOrientation="portrait"
|
|
android:exported="true"></activity>
|
|
|
|
|
|
<!-- android:directBootAware="true" 为应用启用消息处理直接启动模式-->
|
|
<service
|
|
android:name=".MyFirebaseMessageingService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
</intent-filter>
|
|
</service>
|
|
<!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
|
|
See README(https://goo.gl/l4GJaQ) for more. 设置推送默认图标 和颜色-->
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
|
android:resource="@mipmap/ic_launcher" />
|
|
<!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
|
|
notification message. See README(https://goo.gl/6BKBk7) for more. -->
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_color"
|
|
android:resource="@color/notify_color" />
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
|
android:value="@string/app_name" />
|
|
|
|
</application>
|
|
|
|
</manifest> |