AndroidManifest.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="cn.yyxx.eyuancomm.channel.huawei">
  4. <!-- HMS-SDK引导升级HMS功能,访问OTA服务器需要网络权限 -->
  5. <uses-permission android:name="android.permission.INTERNET" />
  6. <!-- 检测网络状态 -->
  7. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  8. <!-- 如果是安卓8.0,应用编译配置的targetSdkVersion>=26,请务必添加以下权限 -->
  9. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  10. <!-- 应用市场9.0版本必须使用该权限获取用户的服务地 -->
  11. <uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA" />
  12. <!-- Android O版本调用安装需要使用该权限 -->
  13. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  14. <uses-permission android:name="com.huawei.hwid.permission.gameservice.archive.access.provider" />
  15. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  16. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  17. <!-- &lt;!&ndash; <uses-sdk tools:overrideLibrary="com.huawei.agconnect.credential,com.huawei.agconnect.core,com.huawei.agconnect.https,com.huawei.agconnect.datastore" />&ndash;&gt;-->
  18. <queries>
  19. <intent>
  20. <action android:name="com.apptouch.intent.action.update_hms" />
  21. </intent>
  22. <intent>
  23. <action android:name="com.huawei.appmarket.intent.action.AppDetail" />
  24. </intent>
  25. <intent>
  26. <action android:name="com.huawei.hms.core.aidlservice" />
  27. </intent>
  28. <intent>
  29. <action android:name="com.huawei.hms.core" />
  30. </intent>
  31. <package android:name="com.hisilicon.android.hiRMService" />
  32. </queries>
  33. <application android:allowBackup="true">
  34. <!-- &lt;!&ndash; agconnect core &ndash;&gt;-->
  35. <!-- <provider-->
  36. <!-- android:name="com.huawei.agconnect.core.provider.AGConnectInitializeProvider"-->
  37. <!-- android:authorities="${applicationId}.AGCInitializeProvider"-->
  38. <!-- android:exported="false" />-->
  39. <!-- <service-->
  40. <!-- android:name="com.huawei.agconnect.core.ServiceDiscovery"-->
  41. <!-- android:exported="false">-->
  42. <!-- <meta-data-->
  43. <!-- android:name="com.huawei.agconnect.api.ApiServiceRegistrar"-->
  44. <!-- android:value="com.huawei.agconnect.core.ServiceRegistrar" />-->
  45. <!-- <meta-data-->
  46. <!-- android:name="com.huawei.agconnect.auth.AuthServiceRegistrar"-->
  47. <!-- android:value="com.huawei.agconnect.core.ServiceRegistrar" />-->
  48. <!-- <meta-data-->
  49. <!-- android:name="com.huawei.agconnect.credential.CredentialServiceRegistrar:100"-->
  50. <!-- android:value="com.huawei.agconnect.core.ServiceRegistrar" />-->
  51. <!-- <meta-data-->
  52. <!-- android:name="com.huawei.agconnect.crash.AGConnectCrashRegistrar"-->
  53. <!-- android:value="com.huawei.agconnect.core.ServiceRegistrar" />-->
  54. <!-- </service>-->
  55. <!-- &lt;!&ndash; agconnect core &ndash;&gt;-->
  56. <!-- &lt;!&ndash; Componentverifysdk &ndash;&gt;-->
  57. <!-- <meta-data-->
  58. <!-- android:name="componentverify_ag_cbg_root"-->
  59. <!-- android:value="@string/ag_sdk_cbg_root" />-->
  60. <!-- &lt;!&ndash; Componentverifysdk &ndash;&gt;-->
  61. <!-- &lt;!&ndash; HMSSdkAvailableUpdate &ndash;&gt;-->
  62. <!-- <meta-data-->
  63. <!-- android:name="availableLoaded"-->
  64. <!-- android:value="yes" />-->
  65. <!-- <provider-->
  66. <!-- android:name="com.huawei.hms.update.provider.UpdateProvider"-->
  67. <!-- android:authorities="${applicationId}.hms.update.provider"-->
  68. <!-- android:exported="false"-->
  69. <!-- android:grantUriPermissions="true" />-->
  70. <!-- &lt;!&ndash; HMSSdkAvailableUpdate &ndash;&gt;-->
  71. <!-- &lt;!&ndash; HMSSdkBase &ndash;&gt;-->
  72. <!-- <meta-data-->
  73. <!-- android:name="com.huawei.hms.client.service.name:base"-->
  74. <!-- android:value="base:6.3.0.303" />-->
  75. <!-- <meta-data-->
  76. <!-- android:name="com.huawei.hms.min_api_level:base:hmscore"-->
  77. <!-- android:value="1" />-->
  78. <!-- &lt;!&ndash; HMSSdkBase &ndash;&gt;-->
  79. <!-- &lt;!&ndash; HMSSdkDevice &ndash;&gt;-->
  80. <!-- <provider-->
  81. <!-- android:name="com.huawei.hms.device.provider.CheckHmsProvider"-->
  82. <!-- android:authorities="${applicationId}.hms.device.validate.spoofprovider"-->
  83. <!-- android:exported="false"-->
  84. <!-- android:grantUriPermissions="false" />-->
  85. <!-- &lt;!&ndash; HMSSdkDevice &ndash;&gt;-->
  86. <!-- &lt;!&ndash; HMSSdkUI &ndash;&gt;-->
  87. <!-- <activity-->
  88. <!-- android:name="com.huawei.hms.activity.BridgeActivity"-->
  89. <!-- android:configChanges="orientation|locale|layoutDirection|fontScale|screenSize|smallestScreenSize|screenLayout|uiMode"-->
  90. <!-- android:excludeFromRecents="true"-->
  91. <!-- android:exported="false"-->
  92. <!-- android:hardwareAccelerated="true"-->
  93. <!-- android:screenOrientation="behind"-->
  94. <!-- android:theme="@style/Base_Translucent">-->
  95. <!-- <meta-data-->
  96. <!-- android:name="hwc-theme"-->
  97. <!-- android:value="androidhwext:style/Theme.Emui.Translucent" />-->
  98. <!-- </activity>-->
  99. <!-- <activity-->
  100. <!-- android:name="com.huawei.hms.activity.EnableServiceActivity"-->
  101. <!-- android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout"-->
  102. <!-- android:exported="false" />-->
  103. <!-- &lt;!&ndash; HMSSdkUI &ndash;&gt;-->
  104. <!-- &lt;!&ndash; Update &ndash;&gt;-->
  105. <!-- <activity-->
  106. <!-- android:name="com.huawei.updatesdk.service.otaupdate.AppUpdateActivity"-->
  107. <!-- android:configChanges="orientation|screenSize"-->
  108. <!-- android:exported="false"-->
  109. <!-- android:theme="@android:style/Theme.Translucent.NoTitleBar">-->
  110. <!-- <meta-data-->
  111. <!-- android:name="hwc-theme"-->
  112. <!-- android:value="androidhwext:style/Theme.Emui.Translucent.NoTitleBar" />-->
  113. <!-- <meta-data-->
  114. <!-- android:name="hnc-theme"-->
  115. <!-- android:value="androidhnext:style/Theme.Magic.Translucent.NoTitleBar" />-->
  116. <!-- </activity>-->
  117. <!-- <activity-->
  118. <!-- android:name="com.huawei.updatesdk.support.pm.PackageInstallerActivity"-->
  119. <!-- android:configChanges="orientation|keyboardHidden|screenSize"-->
  120. <!-- android:exported="false"-->
  121. <!-- android:theme="@android:style/Theme.Translucent.NoTitleBar">-->
  122. <!-- <meta-data-->
  123. <!-- android:name="hwc-theme"-->
  124. <!-- android:value="androidhwext:style/Theme.Emui.Translucent" />-->
  125. <!-- <meta-data-->
  126. <!-- android:name="hnc-theme"-->
  127. <!-- android:value="androidhnext:style/Theme.Magic.Translucent" />-->
  128. <!-- </activity>-->
  129. <!-- <provider-->
  130. <!-- android:name="com.huawei.updatesdk.fileprovider.UpdateSdkFileProvider"-->
  131. <!-- android:authorities="${applicationId}.updateSdk.fileProvider"-->
  132. <!-- android:exported="false"-->
  133. <!-- android:grantUriPermissions="true" />-->
  134. <!-- &lt;!&ndash; Update &ndash;&gt;-->
  135. <!-- &lt;!&ndash; Apptouch &ndash;&gt;-->
  136. <!-- <meta-data-->
  137. <!-- android:name="com.huawei.hms.min_api_level:apptouch:apptouch"-->
  138. <!-- android:value="1" />-->
  139. <!-- &lt;!&ndash; Apptouch &ndash;&gt;-->
  140. <!-- &lt;!&ndash; Hmssdk-game &ndash;&gt;-->
  141. <!-- <meta-data-->
  142. <!-- android:name="com.huawei.hms.client.service.name:game"-->
  143. <!-- android:value="game:6.1.0.301" />-->
  144. <!-- <service-->
  145. <!-- android:name="com.huawei.hms.jos.games.service.GameService"-->
  146. <!-- android:exported="true">-->
  147. <!-- <intent-filter>-->
  148. <!-- <action android:name="com.huawei.hms.games.service" />-->
  149. <!-- </intent-filter>-->
  150. <!-- </service>-->
  151. <!-- <provider-->
  152. <!-- android:name="com.huawei.hms.jos.games.archive.ArchiveRemoteAccessProvider"-->
  153. <!-- android:authorities="${applicationId}.hmssdk.jos.archive"-->
  154. <!-- android:exported="true" />-->
  155. <!-- <activity-->
  156. <!-- android:name="com.huawei.appmarket.component.buoycircle.impl.delegete.BuoyBridgeActivity"-->
  157. <!-- android:configChanges="orientation|locale|screenSize|layoutDirection|fontScale"-->
  158. <!-- android:excludeFromRecents="true"-->
  159. <!-- android:exported="false"-->
  160. <!-- android:hardwareAccelerated="true"-->
  161. <!-- android:theme="@android:style/Theme.Translucent">-->
  162. <!-- <meta-data-->
  163. <!-- android:name="hwc-theme"-->
  164. <!-- android:value="androidhwext:style/Theme.Emui.Translucent" />-->
  165. <!-- </activity>-->
  166. <!-- <meta-data-->
  167. <!-- android:name="com.huawei.hms.jos.versioncode"-->
  168. <!-- android:value="60100301" />-->
  169. <!-- &lt;!&ndash; Hmssdk-game &ndash;&gt;-->
  170. <!-- &lt;!&ndash; iap &ndash;&gt;-->
  171. <!-- <meta-data-->
  172. <!-- android:name="com.huawei.hms.client.service.name:iap"-->
  173. <!-- android:value="iap:6.3.0.300" />-->
  174. <!-- &lt;!&ndash; iap &ndash;&gt;-->
  175. <!-- <activity-->
  176. <!-- android:name="com.huawei.hms.hwid.internal.ui.activity.HwIdSignInHubActivity"-->
  177. <!-- android:configChanges="fontScale|uiMode"-->
  178. <!-- android:excludeFromRecents="true"-->
  179. <!-- android:exported="false"-->
  180. <!-- android:theme="@android:style/Theme.Translucent.NoTitleBar" />-->
  181. <!-- <activity-->
  182. <!-- android:name="com.huawei.hms.account.internal.ui.activity.AccountSignInHubActivity"-->
  183. <!-- android:excludeFromRecents="true"-->
  184. <!-- android:exported="false"-->
  185. <!-- android:theme="@android:style/Theme.Translucent.NoTitleBar" />-->
  186. <!-- &lt;!&ndash; 切记同步修改 HuaweiIdAuthInternalConstant.HMS_SDK_VERSION &ndash;&gt;-->
  187. <!-- <meta-data-->
  188. <!-- android:name="com.huawei.hms.client.service.name:hwid"-->
  189. <!-- android:value="hwid:6.3.0.300" />-->
  190. <!-- <meta-data-->
  191. <!-- android:name="com.huawei.hms.min_api_level:hwid:hwid"-->
  192. <!-- android:value="1" />-->
  193. <!-- &lt;!&ndash; 5.3.0 独立授权依赖的api_level为11 &ndash;&gt;-->
  194. <!-- &lt;!&ndash; 5.3.0 setCarrierId依赖的api_level为13 &ndash;&gt;-->
  195. <!-- <meta-data-->
  196. <!-- android:name="com.huawei.hms.min_api_level:hwid:account"-->
  197. <!-- android:value="13" />-->
  198. <!-- <meta-data-->
  199. <!-- android:name="com.huawei.hms.client.channel.androidMarket"-->
  200. <!-- android:value="false" />-->
  201. <!-- <meta-data-->
  202. <!-- android:name="com.huawei.hms.client.appid"-->
  203. <!-- android:value="appid=105116483" />-->
  204. <!-- <uses-library-->
  205. <!-- android:name="org.apache.http.legacy"-->
  206. <!-- android:required="false" />-->
  207. <!-- &lt;!&ndash; auth huawei &ndash;&gt;-->
  208. <!-- <service-->
  209. <!-- android:name="com.huawei.agconnect.api.ApiDiscovery"-->
  210. <!-- android:exported="false">-->
  211. <!-- <meta-data-->
  212. <!-- android:name="com.huawei.agconnect.auth.huawei.HuaweiAuthRegistrar"-->
  213. <!-- android:value="com.huawei.agconnect.api.component.ComponentRegistrar" />-->
  214. <!-- <meta-data-->
  215. <!-- android:name="com.huawei.agconnect.auth.google.GoogleAuthRegistrar"-->
  216. <!-- android:value="com.huawei.agconnect.api.component.ComponentRegistrar" />-->
  217. <!-- <meta-data-->
  218. <!-- android:name="com.huawei.agconnect.auth.facebook.FacebookAuthRegistrar"-->
  219. <!-- android:value="com.huawei.agconnect.api.component.ComponentRegistrar" />-->
  220. <!-- </service>-->
  221. <!-- &lt;!&ndash; auth huawei &ndash;&gt;-->
  222. <!-- &lt;!&ndash; hianalytics &ndash;&gt;-->
  223. <!-- <meta-data-->
  224. <!-- android:name="com.huawei.hms.client.service.name:hianalytics"-->
  225. <!-- android:value="hianalytics:6.3.2.300" />-->
  226. <!-- <meta-data-->
  227. <!-- android:name="com.huawei.hms.min_api_level:hianalytics:hianalytics"-->
  228. <!-- android:value="1" />-->
  229. <!-- <receiver-->
  230. <!-- android:name="com.huawei.hms.analytics.receiver.HiAnalyticsSvcEvtReceiver"-->
  231. <!-- android:exported="false">-->
  232. <!-- <intent-filter>-->
  233. <!-- <action android:name="com.huawei.hms.analytics.pps.event" />-->
  234. <!-- </intent-filter>-->
  235. <!-- </receiver>-->
  236. <!-- <provider-->
  237. <!-- android:name="com.huawei.hms.analytics.provider.AnalyticsInitializeProvider"-->
  238. <!-- android:authorities="${applicationId}.AnalyticsKitInitializeProvider"-->
  239. <!-- android:exported="false" />-->
  240. <!-- &lt;!&ndash; hianalytics &ndash;&gt;-->
  241. <!-- &lt;!&ndash; opendevice &ndash;&gt;-->
  242. <!-- <provider-->
  243. <!-- android:name="com.huawei.hms.aaid.InitProvider"-->
  244. <!-- android:authorities="${applicationId}.aaidinitprovider"-->
  245. <!-- android:exported="false"-->
  246. <!-- android:initOrder="500" />-->
  247. <!-- <meta-data-->
  248. <!-- android:name="com.huawei.hms.client.service.name:opendevice"-->
  249. <!-- android:value="opendevice:5.1.1.306" />-->
  250. <!-- <meta-data-->
  251. <!-- android:name="com.huawei.hms.min_api_level:opendevice:push"-->
  252. <!-- android:value="1" />-->
  253. <!-- &lt;!&ndash; opendevice &ndash;&gt;-->
  254. <!-- facebook -->
  255. <meta-data
  256. android:name="com.facebook.sdk.ApplicationId"
  257. android:value="@string/facebook_app_id" />
  258. <activity
  259. android:name="com.facebook.FacebookActivity"
  260. android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" />
  261. <activity
  262. android:name="com.facebook.CustomTabActivity"
  263. android:exported="true">
  264. <intent-filter>
  265. <action android:name="android.intent.action.VIEW" />
  266. <category android:name="android.intent.category.DEFAULT" />
  267. <category android:name="android.intent.category.BROWSABLE" />
  268. <data android:scheme="@string/fb_login_protocol_scheme" />
  269. </intent-filter>
  270. </activity>
  271. <!-- facebook -->
  272. <service
  273. android:name="cn.yyxx.eyuancomm.impl.channel.huawei.floatview.FloatCenterService"
  274. android:exported="true" />
  275. </application>
  276. </manifest>