From 7759ebb89d20dd9632add2d3383e3ddc3097acb5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期三, 10 七月 2024 15:40:50 +0800 Subject: [PATCH] 极光Sdk更新 --- HDL-ON_Android/Properties/AndroidManifest.xml | 65 ++------------------------------ 1 files changed, 5 insertions(+), 60 deletions(-) diff --git a/HDL-ON_Android/Properties/AndroidManifest.xml b/HDL-ON_Android/Properties/AndroidManifest.xml index 71bf428..81083ee 100644 --- a/HDL-ON_Android/Properties/AndroidManifest.xml +++ b/HDL-ON_Android/Properties/AndroidManifest.xml @@ -1,65 +1,26 @@ 锘�<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.0" package="com.jinlu.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202312271"> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="4.2.2" package="com.jinlu.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202407022"> <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> - <!--鍙嬬洘--> - <!--<uses-sdk android:minSdkVersion="8"></uses-sdk>--> - <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>--> - <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>--> - <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>--> - <!--<uses-permission android:name="android.permission.INTERNET"/>--> - <!-- 涔愭鍙瀵硅闇�瑕佺殑鏉冮檺 --> - <!--<uses-permission android:name="android.permission.INTERNET" />--> - <!--缃戠粶璁块棶--> - <!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />--> - <!--鍏佽绋嬪簭鍐欏叆澶栭儴瀛樺偍,濡係D鍗′笂鍐欐枃浠讹紝鎶撳浘銆佸綍鍒剁瓑--> - <!--<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />--> <!--绋嬪簭鍙互璇诲彇璁惧澶栭儴瀛樺偍绌洪棿(鍐呯疆SDcard鍜屽缃甋DCard)鐨勬枃浠讹紝鎴戠殑鏂囦欢绛�--> <uses-permission android:name="android.permission.USE_CREDENTIALS" /> - <!--鍏佽绋嬪簭璇锋眰楠岃瘉浠嶢ccountManager锛燂紵锛�--> - <!--<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />--> - <!--鍏佽鏀瑰彉WiFi澶氭挱鐘舵�侊紵锛燂紵--> - <!--<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />--> - <!--鍏佽绋嬪簭鏄剧ず绯荤粺绐楀彛锛屽簲璇ュ凡缁忎笉閫傜敤浜嗭紵锛燂紵--> - <!--<uses-permission android:name="android.permission.RECORD_AUDIO" />--> - <!--鍏佽绋嬪簭褰曞埗澹伴煶閫氳繃鎵嬫満鎴栬�虫満鐨勯害鍏嬶紝瀵硅銆佽嚜瀹氫箟鎶ヨ闊崇瓑--> - <!--<uses-permission android:name="android.permission.CAMERA" />--> <!--鍏佽绋嬪簭璁块棶鎽勫儚澶磋繘琛屾媿鐓э紝浜岀淮鐮佹壂鎻忚ˉ鍏夈�佹媿鐓т笂浼犲浘鐗囩瓑--> <uses-permission android:name="android.permission.FLASHLIGHT" /> <!--鍏佽璁块棶闂厜鐏紝浜岀淮鐮佹壂鎻忚ˉ鍏�--> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> - <!--鍏佽绋嬪簭淇敼澹伴煶璁剧疆淇℃伅锛屽0娉㈤厤瀵癸紝鑷姩璋冨ぇ闊抽噺銆傞渶姹傚彉鏇翠箣鍚庡簲璇ヤ笉闇�瑕佷簡锛燂紵锛�--> - <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />--> <!--鍏佽绋嬪簭鑾峰彇褰撳墠WiFi鎺ュ叆鐨勭姸鎬佷互鍙奧LAN鐑偣鐨勪俊鎭紝璁惧娣诲姞浣曠閰嶇綉娴佺▼浣跨敤--> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> - <!--鍏佽绋嬪簭鏀瑰彉WiFi鐘舵�侊紝閰嶇綉绛�--> - <!--<uses-feature android:name="android.hardware.camera" />--> - <!--<uses-feature android:name="android.hardware.camera.autofocus" />--> <!-- 纭欢鍔犻�熷X5瑙嗛鎾斁闈炲父閲嶈锛屽缓璁紑鍚� --> <uses-permission android:name="android.permission.READ_SETTINGS" /> - <!--鍏佽绋嬪簭璇诲彇绯荤粺璁剧疆锛屽0娉㈤厤瀵硅幏鍙栧綋鍓嶇郴缁熼煶閲忕瓑--> - <!-- Optional for location --> - <!--<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />--> - <!--鍏佽涓�涓▼搴忚闂瓹ellID鎴� WiFi鐑偣鏉ヨ幏鍙栫矖鐣ョ殑浣嶇疆锛岀櫥闄嗐�佽澶囨坊鍔犵瓑--> - <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />--> <!--鍏佽涓�涓▼搴忚闂瓹ellID鎴� WiFi鐑偣鏉ヨ幏鍙栫簿纭殑浣嶇疆锛岀櫥闄嗐�佽澶囨坊鍔犵瓑锛燂紵锛�--> <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> - <!--鍏佽搴旂敤绋嬪簭璁块棶棰濆鐨勪綅缃彁渚涘懡浠わ紝鐧婚檰銆佽澶囨坊鍔犵瓑锛燂紵锛�--> - <!--<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />--> - <!--鍏佽绋嬪簭鏀瑰彉缃戠粶鐘舵��,濡傛槸鍚﹁仈缃戯紝閰嶇綉锛燂紵锛�--> - <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />--> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> - <!--鍏佽搴旂敤绋嬪簭璇锋眰瀹夎鍖呫�傞拡瀵笰PI澶т簬22蹇呴』鎸佹湁璇ヨ鍙娇鐢ˋCTION_INSTALL_PACKAGE搴旂敤銆傚簲璇ユ病鍦ㄧ敤锛燂紵锛�--> - <uses-permission android:name="android.permission.VIBRATE" /> <!-- 鍙瀵硅鏉冮檺--> - <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera.autofocus" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.VIBRATE" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <!-- 瀹氫綅鏉冮檺 --> @@ -73,7 +34,6 @@ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <!-- 鎾斁鏈湴闊充箰鏉冮檺--> <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" /> - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!--鏋佸厜鎺ㄩ�� Required 涓�浜涚郴缁熻姹傜殑鏉冮檺锛屽璁块棶缃戠粶绛�--> <!-- Required 涓�浜涚郴缁熻姹傜殑鏉冮檺锛屽璁块棶缃戠粶绛�--> <permission android:name="com.jinlu.onpro.permission.JPUSH_MESSAGE" android:protectionLevel="signature" /> @@ -82,33 +42,17 @@ <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.READ_LOGS" /> <!-- 鏋佸厜鎺ㄩ�佺粨鏉� --> <application android:allowBackup="true" android:debuggable="false" android:icon="@drawable/Icon" android:requestLegacyExternalStorage="true" android:networkSecurityConfig="@xml/network_security_config" android:largeHeap="true" android:label="浼樻暟鍏昏��"> - <meta-data android:name="JPUSH_CHANNEL" android:value="developer-default" tools:replace="android:value" /> - <!-- Required. AppKey copied from Portal --> - <meta-data android:name="JPUSH_APPKEY" android:value="55d229c2e34c2ed2acf14a04" tools:replace="android:value" /> - <meta-data android:name="JPUSH_PKGNAME" android:value="com.jinlu.onpro" tools:replace="android:value" /> - <!--/鎵弿浜岀淮鐮乤ctivity--> - <!--<activity - android:name="com.journeyapps.barcodescanner.CaptureActivity" - android:screenOrientation="portrait" - tools:replace="screenOrientation" />--> - <!--CustomCaptureActivity--> - <!--<activity - android:name=".CustomCaptureActivity" - android:screenOrientation="portrait" - tools:replace="screenOrientation" />--> <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.jinlu.onpro.fileProvider" android:grantUriPermissions="true" android:exported="false"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" /> </provider> <!--鏋佸厜鎺ㄩ��--> - <provider android:name="Shared.Droid.JPush.HmsContentProvider" android:authorities="${applicationId}.hmspushprovider" android:exported="false"></provider> + <!--<provider android:name="Shared.Droid.JPush.HmsContentProvider" android:authorities="${applicationId}.hmspushprovider" android:exported="false"></provider>--> <!-- Required SDK 鏍稿績鍔熻兘--> <!-- 鍙厤缃� android:process 鍙傛暟灏� PushService 鏀惧湪鍏朵粬杩涚▼涓� --> <service android:name="cn.jpush.android.service.PushService" android:enabled="true" android:exported="false"> @@ -188,8 +132,9 @@ <!-- 渚嬪: --> <!-- 鍙戝埌 Google Play 鐨� APK 鍙互璁剧疆涓� google-play; --> <!-- 鍙戝埌鍏朵粬甯傚満鐨� APK 鍙互璁剧疆涓� xxx-market銆� --> + <meta-data android:name="JPUSH_CHANNEL" android:value="developer-default" /> + <!-- Required. AppKey copied from Portal --> + <meta-data android:name="JPUSH_APPKEY" android:value="55d229c2e34c2ed2acf14a04" /> <!-- 鏋佸厜鎺ㄩ�佺粨鏉� --> - <!-- 璁剧疆楂樺痉鍦板浘key --> - <meta-data android:name="com.amap.api.v2.apikey" android:value="9901dd06e30b229efdd4c5bf5e076224" /> </application> </manifest> \ No newline at end of file -- Gitblit v1.8.0