119 lines
4.1 KiB
XML
119 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.web.market">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<!-- 8.0+系统需要-->
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<!--推送权限-->
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="market" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<application
|
|
android:name=".WebApplication"
|
|
android:allowBackup="true"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.AppTheme"
|
|
android:usesCleartextTraffic="true">
|
|
|
|
|
|
|
|
<activity
|
|
android:name=".StartActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="true"
|
|
android:hardwareAccelerated="true">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<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="market"
|
|
android:host="dskj.com"
|
|
/>
|
|
<!-- android:path="/detail"-->
|
|
</intent-filter>
|
|
|
|
|
|
</activity>
|
|
|
|
|
|
<activity
|
|
android:name=".IndexActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="true"
|
|
android:hardwareAccelerated="true"
|
|
android:theme="@style/AppThemeStart"
|
|
>
|
|
<!-- android:theme="@style/AppThemeStart"-->
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".HomeActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="true"
|
|
android:hardwareAccelerated="true">
|
|
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".MyFirebaseMessageingService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
|
android:resource="@mipmap/ic_launcher_round" />
|
|
|
|
<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" />
|
|
|
|
<activity
|
|
android:name="com.web.market.WebViewActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="false"
|
|
android:hardwareAccelerated="true" />
|
|
|
|
<activity
|
|
android:name="com.web.market.NotifyListActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="false"
|
|
android:hardwareAccelerated="true" />
|
|
|
|
<activity
|
|
android:name="com.web.market.SettingActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="false"
|
|
android:hardwareAccelerated="true" />
|
|
|
|
</application>
|
|
|
|
</manifest> |