更换包名

This commit is contained in:
2022-09-27 19:11:46 +08:00
parent 35c747a334
commit 4f671a3b75
148 changed files with 585 additions and 630 deletions

View File

@@ -1,7 +1,7 @@
<?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.uiui.sn"
package="com.fuying.sn"
android:sharedUserId="android.uid.system">
<!-- 系统权限,有系统签名可以使用 -->
@@ -76,9 +76,9 @@
<!-- 【必须】 移动推送 TPNS SDK VIP版本所需权限 -->
<permission
android:name="com.uiui.sn.permission.XGPUSH_RECEIVE"
android:name="com.fuying.sn.permission.XGPUSH_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.uiui.sn.permission.XGPUSH_RECEIVE" />
<uses-permission android:name="com.fuying.sn.permission.XGPUSH_RECEIVE" />
<!-- 【必须】 移动推送 TPNS SDK 所需权限 -->
<!-- <uses-permission android:name="android.permission.INTERNET" />-->
@@ -93,7 +93,7 @@
<uses-permission android:name="android.permission.GET_TASKS" />
<application
android:name=".base.BaseApplication"
android:name="com.fuying.sn.base.BaseApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@@ -104,7 +104,7 @@
android:theme="@style/ImmerseTheme"
tools:replace="android:allowBackup">
<activity
android:name=".activity.main.MainActivity"
android:name="com.fuying.sn.activity.main.MainActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait">
<intent-filter>
@@ -114,29 +114,29 @@
</intent-filter>
</activity>
<activity
android:name=".activity.SplashActivity"
android:name="com.fuying.sn.activity.SplashActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait">
</activity>
<service
android:name=".service.ControlPanelService"
android:name="com.fuying.sn.service.ControlPanelService"
android:enabled="true"
android:exported="true" />
<service
android:name=".service.RemoteService"
android:name="com.fuying.sn.service.RemoteService"
android:enabled="true"
android:exported="true"
/>
<service
android:name=".service.main.MainService"
android:name="com.fuying.sn.service.main.MainService"
android:enabled="true"
android:exported="true" />
<service android:name=".service.GuardService" />
<service android:name=".service.DownloadService" />
<service android:name="com.fuying.sn.service.GuardService" />
<service android:name="com.fuying.sn.service.DownloadService" />
<service
android:name=".service.StepService"
android:name="com.fuying.sn.service.StepService"
android:exported="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.SCREEN_OFF" />
@@ -150,7 +150,7 @@
<data android:scheme="package" />
</intent-filter>
</service>
<service android:name=".service.ManagerService">
<service android:name="com.fuying.sn.service.ManagerService">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="android.intent.action.SCREEN_ON" />
@@ -162,7 +162,7 @@
</intent-filter>
</service>
<receiver
android:name=".receiver.BootReceiver"
android:name="com.fuying.sn.receiver.BootReceiver"
android:enabled="true"
android:exported="true">
<intent-filter android:priority="1000">
@@ -181,7 +181,7 @@
</intent-filter>
</receiver>
<receiver
android:name=".receiver.APKinstallReceiver"
android:name="com.fuying.sn.receiver.APKinstallReceiver"
android:enabled="true"
android:exported="true"
android:permission="com.example.broadcast.permission">
@@ -194,12 +194,12 @@
</intent-filter>
</receiver>
<receiver
android:name=".receiver.InstallResultReceiver"
android:name="com.fuying.sn.receiver.InstallResultReceiver"
android:enabled="true"
android:exported="true" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.uiui.sn.fileprovider"
android:authorities="com.fuying.sn.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
@@ -224,7 +224,7 @@
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<data
android:host="com.uiui.sn"
android:host="com.fuying.sn"
android:scheme="tpns" />
<action android:name="android.intent.action.VIEW" />
@@ -273,7 +273,7 @@
<intent-filter>
<!-- 【必须】请修改为当前APP名包.XGVIP_PUSH_ACTION -->
<action android:name="com.uiui.sn.XGVIP_PUSH_ACTION" />
<action android:name="com.fuying.sn.XGVIP_PUSH_ACTION" />
</intent-filter>
</service>
@@ -281,21 +281,21 @@
<!-- 【必须】【注意】authorities 修改为包名.XGVIP_PUSH_AUTH -->
<provider
android:name="com.tencent.android.tpush.XGPushProvider"
android:authorities="com.uiui.sn.XGVIP_PUSH_AUTH"
android:authorities="com.fuying.sn.XGVIP_PUSH_AUTH"
tools:replace="android:authorities" />
<!-- 【必须】【注意】authorities 修改为包名.TPUSH_PROVIDER -->
<provider
android:name="com.tencent.android.tpush.SettingsContentProvider"
android:authorities="com.uiui.sn.TPUSH_PROVIDER"
android:authorities="com.fuying.sn.TPUSH_PROVIDER"
tools:replace="android:authorities" />
<!-- 【可选】用于增强保活能力 -->
<provider
android:name="com.tencent.android.tpush.XGVipPushKAProvider"
android:authorities="com.uiui.sn.AUTH_XGPUSH_KEEPALIVE"
android:authorities="com.fuying.sn.AUTH_XGPUSH_KEEPALIVE"
android:exported="true"
tools:replace="android:exported,android:authorities" />
@@ -303,7 +303,7 @@
<!-- 【可选】APP实现的Receiver用于接收消息透传和操作结果的回调请根据需要添加 -->
<!-- YOUR_PACKAGE_PATH.CustomPushReceiver需要改为自己的Receiver -->
<receiver android:name="com.uiui.sn.tpush.MessageReceiver">
<receiver android:name="com.fuying.sn.tpush.MessageReceiver">
<intent-filter>
<!-- 接收消息透传 -->
@@ -322,7 +322,7 @@
<provider
android:name="com.tencent.tpns.baseapi.base.SettingsContentProvider"
android:authorities="com.uiui.sn.XG_SETTINGS_PROVIDER"
android:authorities="com.fuying.sn.XG_SETTINGS_PROVIDER"
android:exported="false"
tools:replace="android:authorities" />
<!-- MQTT END-->
@@ -330,12 +330,12 @@
<!-- 【必须】 请修改为 APP 的 AccessId“15”开头的10位数字中间没空格 -->
<meta-data
android:name="XG_V2_ACCESS_ID"
android:value="1500026387" />
android:value="1500031216" />
<!-- 【必须】 请修改为APP的AccessKey“A”开头的12位字符串中间没空格 -->
<meta-data
android:name="XG_V2_ACCESS_KEY"
android:value="AG2PUQL7TEX5" />
android:value="A1HBG2922B9Z" />
<meta-data
android:name="com.baidu.lbsapi.API_KEY"