2025-03-12 18:09:09 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2025-03-24 18:47:06 +08:00
|
|
|
|
package="org.easydarwin.easypusher">
|
2025-03-21 09:45:57 +08:00
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
|
|
<!-- 这个权限用于进行网络定位 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
|
|
<!-- 这个权限用于访问GPS定位 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
|
|
<!-- 用于访问wifi网络信息,wifi信息会用于进行网络定位 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
|
|
<!-- 获取运营商信息,用于支持提供运营商信息相关的接口 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
|
|
<!-- 这个权限用于获取wifi的获取权限,wifi信息会用来进行网络定位 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
|
|
|
|
<!-- 用于读取手机当前的状态 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
|
|
<!-- 写入扩展存储,向扩展卡写入数据,用于写入离线定位数据 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
|
|
|
|
|
|
tools:ignore="ProtectedPermissions" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
|
<!-- 访问网络,网络定位需要上网 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
|
<!-- SD卡读取权限,用户写入离线定位数据 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
|
|
|
|
tools:ignore="ProtectedPermissions" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS"
|
|
|
|
|
|
tools:ignore="ProtectedPermissions" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
|
|
|
|
|
<!-- 授予录音权限 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
|
|
<uses-feature android:name="android.hardware.camera"
|
|
|
|
|
|
android:required="true"/>
|
|
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.NFC" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
2025-03-27 10:20:48 +08:00
|
|
|
|
<!-- 开机自启的权限-->
|
2025-03-21 09:45:57 +08:00
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
|
|
|
|
|
<!-- SD卡读取权限,用户写入离线定位数据-->
|
|
|
|
|
|
<uses-permission
|
|
|
|
|
|
android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
|
|
|
|
tools:ignore="ProtectedPermissions" />
|
|
|
|
|
|
<!--9.0后前台服务需要申请权限-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
2025-03-24 18:47:06 +08:00
|
|
|
|
<uses-permission android:name="android.permission.SEND_SMS"
|
|
|
|
|
|
tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS"
|
|
|
|
|
|
tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
|
2025-03-12 18:09:09 +08:00
|
|
|
|
|
|
|
|
|
|
<!--进程杀死-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
|
|
|
|
|
|
|
|
|
|
|
|
<application
|
|
|
|
|
|
android:name="com.bonus.canteen.SmartCanteenApp"
|
|
|
|
|
|
android:allowBackup="false"
|
2025-03-24 18:47:06 +08:00
|
|
|
|
android:icon="@drawable/ic_canteen"
|
2025-03-12 18:09:09 +08:00
|
|
|
|
android:label="@string/app_name"
|
|
|
|
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
|
|
|
|
android:requestLegacyExternalStorage="true"
|
2025-03-24 18:47:06 +08:00
|
|
|
|
android:roundIcon="@drawable/ic_canteen"
|
2025-03-12 18:09:09 +08:00
|
|
|
|
android:supportsRtl="true"
|
|
|
|
|
|
android:theme="@style/AppTheme"
|
|
|
|
|
|
tools:ignore="DiscouragedApi,LockedOrientationActivity"
|
|
|
|
|
|
tools:replace="android:allowBackup">
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.SplashActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:theme="@style/AppTheme.Launch.App"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden">
|
|
|
|
|
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
|
|
</intent-filter>
|
|
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 当前使用的activity-->
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.OperationActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
|
2025-03-21 09:45:57 +08:00
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.InitializationActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.order.MachineSaleActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
2025-03-12 18:09:09 +08:00
|
|
|
|
<activity
|
2025-03-24 18:47:06 +08:00
|
|
|
|
android:name="com.bonus.canteen.activity.BusinessDataActivity"
|
2025-03-12 18:09:09 +08:00
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
2025-03-24 18:47:06 +08:00
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
2025-04-30 16:23:07 +08:00
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.setting.SettingsActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.setting.UserInfoActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.setting.MealTimeActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.activity.setting.ParamSettingsActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
2025-03-12 18:09:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--fragment的页面容器-->
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.core.BaseActivity" />
|
|
|
|
|
|
<!-- 版本更新提示-->
|
2025-03-24 18:47:06 +08:00
|
|
|
|
<!-- <activity-->
|
|
|
|
|
|
<!-- android:name="com.bonus.canteen.utils.update.UpdateTipDialog"-->
|
|
|
|
|
|
<!-- android:screenOrientation="landscape"-->
|
|
|
|
|
|
<!-- android:theme="@style/DialogTheme" />-->
|
2025-03-12 18:09:09 +08:00
|
|
|
|
<!-- Webview拦截提示弹窗-->
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.core.webview.WebViewInterceptDialog"
|
|
|
|
|
|
android:screenOrientation="landscape"
|
|
|
|
|
|
android:theme="@style/DialogTheme" />
|
|
|
|
|
|
<!-- applink的中转页面 -->
|
|
|
|
|
|
<activity
|
|
|
|
|
|
android:name="com.bonus.canteen.core.XPageTransferActivity"
|
|
|
|
|
|
android:configChanges="keyboardHidden|keyboard"
|
|
|
|
|
|
android:screenOrientation="landscape"
|
|
|
|
|
|
android:windowSoftInputMode="adjustPan|stateHidden" />
|
|
|
|
|
|
|
|
|
|
|
|
<!--屏幕自适应设计图-->
|
|
|
|
|
|
<meta-data
|
|
|
|
|
|
android:name="design_width_in_dp"
|
|
|
|
|
|
android:value="1440" />
|
|
|
|
|
|
<meta-data
|
|
|
|
|
|
android:name="design_height_in_dp"
|
|
|
|
|
|
android:value="800" />
|
2025-03-24 18:47:06 +08:00
|
|
|
|
<provider
|
|
|
|
|
|
android:name="androidx.core.content.FileProvider"
|
|
|
|
|
|
android:authorities="com.bonus.face.fileprovider"
|
|
|
|
|
|
android:exported="false"
|
|
|
|
|
|
android:grantUriPermissions="true">
|
|
|
|
|
|
<meta-data
|
|
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
|
|
android:resource="@xml/file_paths" />
|
|
|
|
|
|
</provider>
|
2025-03-12 18:09:09 +08:00
|
|
|
|
|
2025-03-26 16:44:36 +08:00
|
|
|
|
<service android:name="org.eclipse.paho.android.service.MqttService" />
|
|
|
|
|
|
|
2025-04-27 14:01:53 +08:00
|
|
|
|
<service android:name="com.bonus.canteen.service.data.DownLoadDataService"
|
2025-04-09 09:22:20 +08:00
|
|
|
|
android:enabled="true"
|
|
|
|
|
|
android:process=":remote" />
|
|
|
|
|
|
|
2025-04-09 16:29:15 +08:00
|
|
|
|
<service
|
2025-04-27 14:01:53 +08:00
|
|
|
|
android:name="com.bonus.canteen.service.data.HeartbeatService"
|
2025-04-09 16:29:15 +08:00
|
|
|
|
android:enabled="true"
|
|
|
|
|
|
android:exported="false" />
|
2025-03-27 10:20:48 +08:00
|
|
|
|
<!-- 开机自启广播-->
|
|
|
|
|
|
<receiver android:name="com.bonus.canteen.receiver.BootReceiver"
|
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
|
android:exported="true"
|
|
|
|
|
|
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
|
|
|
|
|
|
<intent-filter android:priority="1005">
|
|
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
|
</intent-filter>
|
|
|
|
|
|
</receiver>
|
2025-04-09 16:29:15 +08:00
|
|
|
|
|
2025-04-27 14:01:53 +08:00
|
|
|
|
<service android:name="com.bonus.canteen.service.upload.UpLoadDataService"
|
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
|
android:process=":remote" />
|
2025-03-12 18:09:09 +08:00
|
|
|
|
</application>
|
|
|
|
|
|
|
2025-03-26 16:44:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-03-12 18:09:09 +08:00
|
|
|
|
</manifest>
|