update:2020.12.25

fix:新后台对接完成
add:
This commit is contained in:
2020-12-25 11:09:47 +08:00
parent 4d1eafae8c
commit 79ea8888c1
80 changed files with 3636 additions and 12151 deletions

View File

@@ -48,7 +48,7 @@
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<application
android:name=".MyApplication"
android:name=".base.MyApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@@ -61,7 +61,8 @@
android:enabled="true"
android:exported="true"></service>
<activity android:name=".MainActivity"
<activity android:name=".activity.MainActivity"
android:launchMode="singleTask"
android:screenOrientation="sensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -90,8 +91,9 @@
<receiver
android:name=".receiver.APKinstallReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
android:exported="true"
android:permission="com.example.broadcast.permission">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
@@ -112,12 +114,14 @@
<activity
android:name="cn.jpush.android.ui.PopWinActivity"
android:exported="false"
android:theme="@style/MyDialogStyle" /> <!-- Required SDK核心功能 -->
android:theme="@style/MyDialogStyle"
tools:replace="android:exported" /> <!-- Required SDK核心功能 -->
<activity
android:name="cn.jpush.android.ui.PushActivity"
android:configChanges="orientation|keyboardHidden"
android:exported="false"
android:theme="@android:style/Theme.NoTitleBar">
android:theme="@android:style/Theme.NoTitleBar"
tools:replace="android:exported">
<intent-filter>
<action android:name="cn.jpush.android.ui.PushActivity" />
@@ -205,7 +209,7 @@
<service android:name=".service.MyDownloadService" />
<service android:name=".service.StepService" /> <!-- User defined. For test only 用户自定义的广播接收器 -->
<receiver
android:name=".jpush.MyReceiver"
android:name="com.info.sn.jpush.MyReceiver"
android:enabled="true"
android:exported="false">
<intent-filter>
@@ -227,16 +231,24 @@
<receiver
android:name=".receiver.InstallResultReceiver"
android:enabled="true"
android:exported="true" /> <!-- Required . Enable it you can get statistics data with channel -->
android:exported="true" />
<!-- Required . Enable it you can get statistics data with channel -->
<meta-data
android:name="JPUSH_CHANNEL"
android:value="developer-default" />
<meta-data
android:name="JPUSH_APPKEY"
android:value="edf9cec22731b8b2fed56ee6" /> <!-- 设置key -->
android:value="edf9cec22731b8b2fed56ee6" />
<!-- 设置key -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="83869aed8624eb00615c2b6d3d15d777" />
<meta-data
android:name="design_width_in_dp"
android:value="360" />
<meta-data
android:name="design_height_in_dp"
android:value="640" />
</application>
</manifest>