version:1.1

fix:
add:应用使用数据统计
This commit is contained in:
2021-12-25 16:54:44 +08:00
parent 88f65afb48
commit 71e5516ab8
159 changed files with 1671 additions and 3312 deletions

View File

@@ -1,8 +1,9 @@
<?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.info.sn"
package="com.uiui.sn"
android:sharedUserId="android.uid.system">
<!-- 系统权限,有系统签名可以使用 -->
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
@@ -22,7 +23,7 @@
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <!-- Required -->
<permission
android:name="com.info.sn.permission.JPUSH_MESSAGE"
android:name="com.uiui.sn.permission.JPUSH_MESSAGE"
android:protectionLevel="signature" /> <!-- Required 一些系统要求的权限,如访问网络等 -->
<uses-permission android:name="${JPUSH_PKGNAME}.permission.JPUSH_MESSAGE" />
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
@@ -51,7 +52,7 @@
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<application
android:name=".base.BaseApplication"
android:name="com.uiui.sn.base.BaseApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@@ -61,36 +62,36 @@
android:supportsRtl="true"
android:theme="@style/ImmerseTheme">
<activity
android:name=".activity.PrivacyPolicyActivity"
android:name="com.uiui.sn.activity.PrivacyPolicyActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
<activity
android:name=".activity.UserAgreementActivity"
android:name="com.uiui.sn.activity.UserAgreementActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
<activity
android:name=".activity.SNUidActivity"
android:name="com.uiui.sn.activity.SNUidActivity"
android:launchMode="singleTask"
android:theme="@style/activity_styles" />
<activity
android:name=".activity.selectegrade.SelecteGradeActivity"
android:name="com.uiui.sn.activity.selectegrade.SelecteGradeActivity"
android:launchMode="singleTask"
android:theme="@style/activity_styles" />
<activity
android:name=".activity.GuideActivity"
android:name="com.uiui.sn.activity.GuideActivity"
android:launchMode="singleTask"
android:theme="@style/activity_styles" />
<service
android:name=".service.RemoteService"
android:name="com.uiui.sn.service.RemoteService"
android:enabled="true"
android:exported="true"
android:process=":remote" />
<activity
android:name=".activity.main.MainActivity"
android:name="com.uiui.sn.activity.main.MainActivity"
android:launchMode="singleTask"
android:screenOrientation="sensorLandscape">
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -99,13 +100,13 @@
</activity>
<service
android:name=".service.MainService"
android:name="com.uiui.sn.service.MainService"
android:enabled="true"
android:exported="true" />
<service android:name=".service.GuardService" />
<service android:name=".service.DownloadService" />
<service android:name="com.uiui.sn.service.GuardService" />
<service android:name="com.uiui.sn.service.DownloadService" />
<service
android:name=".service.StepService"
android:name="com.uiui.sn.service.StepService"
android:exported="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.SCREEN_OFF" />
@@ -119,7 +120,7 @@
<data android:scheme="package" />
</intent-filter>
</service>
<service android:name=".service.ManagerService">
<service android:name="com.uiui.sn.service.ManagerService">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="android.intent.action.SCREEN_ON" />
@@ -132,11 +133,11 @@
</service>
<activity
android:name=".activity.ScreenLockActivity"
android:name="com.uiui.sn.activity.ScreenLockActivity"
android:taskAffinity=".activity.ScreenLockActivity" />
<receiver
android:name=".receiver.BootReceiver"
android:name="com.uiui.sn.receiver.BootReceiver"
android:enabled="true"
android:exported="true">
<intent-filter android:priority="1000">
@@ -155,7 +156,7 @@
</intent-filter>
</receiver>
<receiver
android:name=".receiver.APKinstallReceiver"
android:name="com.uiui.sn.receiver.APKinstallReceiver"
android:enabled="true"
android:exported="true"
android:permission="com.example.broadcast.permission">
@@ -168,13 +169,13 @@
</intent-filter>
</receiver>
<receiver
android:name=".receiver.InstallResultReceiver"
android:name="com.uiui.sn.receiver.InstallResultReceiver"
android:enabled="true"
android:exported="true" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.info.sn.fileprovider"
android:authorities="com.uiui.sn.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
@@ -196,7 +197,7 @@
<action android:name="cn.jpush.android.ui.PushActivity" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="com.info.sn" />
<category android:name="com.uiui.sn" />
</intent-filter>
</activity> <!-- Required SDK 核心功能 -->
<!-- 可配置android:process参数将PushService放在其他进程中 -->
@@ -213,7 +214,7 @@
</service> <!-- since 3.0.9 Required SDK 核心功能 -->
<provider
android:name="cn.jpush.android.service.DataProvider"
android:authorities="com.info.sn.DataProvider"
android:authorities="com.uiui.sn.DataProvider"
android:exported="false"
android:process=":pushcore"
tools:replace="android:authorities" /> <!-- since 1.8.0 option 可选项。用于同一设备中不同应用的JPush服务相互拉起的功能。 -->
@@ -225,12 +226,12 @@
<intent-filter>
<action android:name="cn.jpush.android.intent.DaemonService" />
<category android:name="com.info.sn" />
<category android:name="com.uiui.sn" />
</intent-filter>
</service> <!-- since 3.1.0 Required SDK 核心功能 -->
<provider
android:name="cn.jpush.android.service.DownloadProvider"
android:authorities="com.info.sn.DownloadProvider"
android:authorities="com.uiui.sn.DownloadProvider"
android:exported="true"
tools:replace="android:authorities" /> <!-- Required SDK核心功能 -->
<receiver
@@ -239,7 +240,7 @@
android:exported="false">
<intent-filter android:priority="1000">
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" /> <!-- Required 显示通知栏 -->
<category android:name="com.info.sn" />
<category android:name="com.uiui.sn" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.USER_PRESENT" />
@@ -264,19 +265,19 @@
<intent-filter>
<action android:name="cn.jpush.android.intent.JNotifyActivity" />
<category android:name="com.info.sn" />
<category android:name="com.uiui.sn" />
</intent-filter>
</activity> <!-- Since JCore2.0.0 Required SDK核心功能 -->
<!-- 这个Service要继承JCommonService -->
<service
android:name=".jpush.PushService"
android:name="com.uiui.sn.jpush.PushService"
android:process=":pushcore">
<intent-filter>
<action android:name="cn.jiguang.user.service.action" />
</intent-filter>
</service> <!-- User defined. For test only 用户自定义的广播接收器 -->
<receiver
android:name=".receiver.MyJPushReceiver"
android:name="com.uiui.sn.receiver.MyJPushReceiver"
android:enabled="true"
android:exported="false">
<intent-filter>
@@ -285,10 +286,10 @@
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED" /> <!-- Required 用户接收SDK通知栏信息的intent -->
<action android:name="cn.jpush.android.intent.NOTIFICATION_OPENED" /> <!-- Required 用户打开自定义通知栏的intent -->
<action android:name="cn.jpush.android.intent.CONNECTION" /> <!-- 接收网络变化 连接/断开 since 1.6.3 -->
<category android:name="com.info.sn" />
<category android:name="com.uiui.sn" />
</intent-filter>
</receiver> <!-- User defined. For test only 用户自定义接收消息器,3.0.7开始支持,目前新tag/alias接口设置结果会在该广播接收器对应的方法中回调 -->
<receiver android:name=".jpush.MyJPushMessageReceiver">
<receiver android:name="com.uiui.sn.jpush.MyJPushMessageReceiver">
<intent-filter>
<action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />