huawei_sdk_config.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <sdk_config xmlns:android="http://schemas.android.com/apk/res/android">
  3. <sdk_activity>
  4. <provider
  5. android:name="com.huawei.agconnect.core.provider.AGConnectInitializeProvider"
  6. android:authorities="${applicationId}.AGCInitializeProvider"
  7. android:exported="false" />
  8. <service
  9. android:name="com.huawei.agconnect.core.ServiceDiscovery"
  10. android:exported="false" />
  11. <service
  12. android:name="com.huawei.agconnect.core.ServiceDiscovery"
  13. android:exported="false" >
  14. <meta-data
  15. android:name="com.huawei.agconnect.credential.CredentialServiceRegistrar:100"
  16. android:value="com.huawei.agconnect.core.ServiceRegistrar" />
  17. </service>
  18. <uses-library
  19. android:name="org.apache.http.legacy"
  20. android:required="false" />
  21. <queries>
  22. <intent>
  23. <action android:name="com.huawei.hms.core.aidlservice" />
  24. </intent>
  25. <intent>
  26. <action android:name="com.huawei.hms.core" />
  27. </intent>
  28. </queries>
  29. <service
  30. android:name="com.huawei.hms.jos.games.service.GameService"
  31. android:exported="true" >
  32. <intent-filter>
  33. <action android:name="com.huawei.hms.games.service" />
  34. </intent-filter>
  35. </service>
  36. <provider
  37. android:name="com.huawei.hms.jos.games.archive.ArchiveRemoteAccessProvider"
  38. android:authorities="${applicationId}.hmssdk.jos.archive"
  39. android:exported="true" >
  40. </provider>
  41. <activity
  42. android:name="com.huawei.appmarket.component.buoycircle.impl.delegete.BuoyBridgeActivity"
  43. android:configChanges="orientation|locale|screenSize|layoutDirection|fontScale"
  44. android:excludeFromRecents="true"
  45. android:exported="false"
  46. android:hardwareAccelerated="true"
  47. android:theme="@android:style/Theme.Translucent" >
  48. <meta-data
  49. android:name="hwc-theme"
  50. android:value="androidhwext:style/Theme.Emui.Translucent" />
  51. </activity>
  52. <receiver
  53. android:name="com.huawei.hms.analytics.receiver.HiAnalyticsSvcEvtReceiver"
  54. android:exported="false" >
  55. <intent-filter>
  56. <action android:name="com.huawei.hms.analytics.pps.event" />
  57. </intent-filter>
  58. </receiver>
  59. <provider
  60. android:name="com.huawei.hms.analytics.provider.AnalyticsInitializeProvider"
  61. android:authorities="${applicationId}.AnalyticsKitInitializeProvider"
  62. android:exported="false" />
  63. <activity
  64. android:name="com.huawei.updatesdk.service.otaupdate.AppUpdateActivity"
  65. android:configChanges="orientation|screenSize"
  66. android:exported="false"
  67. android:theme="@android:style/Theme.Translucent.NoTitleBar" >
  68. <meta-data
  69. android:name="hwc-theme"
  70. android:value="androidhwext:style/Theme.Emui.Translucent.NoTitleBar" />
  71. <meta-data
  72. android:name="hnc-theme"
  73. android:value="androidhnext:style/Theme.Magic.Translucent.NoTitleBar" />
  74. </activity>
  75. <activity
  76. android:name="com.huawei.updatesdk.support.pm.PackageInstallerActivity"
  77. android:configChanges="orientation|keyboardHidden|screenSize"
  78. android:exported="false"
  79. android:theme="@android:style/Theme.Translucent.NoTitleBar" >
  80. <meta-data
  81. android:name="hwc-theme"
  82. android:value="androidhwext:style/Theme.Emui.Translucent" />
  83. <meta-data
  84. android:name="hnc-theme"
  85. android:value="androidhnext:style/Theme.Magic.Translucent" />
  86. </activity>
  87. <provider
  88. android:name="com.huawei.updatesdk.fileprovider.UpdateSdkFileProvider"
  89. android:authorities="${applicationId}.updateSdk.fileProvider"
  90. android:exported="false"
  91. android:grantUriPermissions="true" />
  92. <activity
  93. android:name="com.huawei.hms.hwid.internal.ui.activity.HwIdSignInHubActivity"
  94. android:configChanges="fontScale|uiMode"
  95. android:excludeFromRecents="true"
  96. android:exported="false"
  97. android:theme="@android:style/Theme.Translucent.NoTitleBar" >
  98. </activity>
  99. <activity
  100. android:name="com.huawei.hms.account.internal.ui.activity.AccountSignInHubActivity"
  101. android:excludeFromRecents="true"
  102. android:exported="false"
  103. android:theme="@android:style/Theme.Translucent.NoTitleBar" >
  104. </activity>
  105. <activity
  106. android:name="com.huawei.hms.activity.BridgeActivity"
  107. android:configChanges="orientation|locale|layoutDirection|fontScale|screenSize|smallestScreenSize|screenLayout|uiMode"
  108. android:excludeFromRecents="true"
  109. android:exported="false"
  110. android:hardwareAccelerated="true"
  111. android:screenOrientation="behind"
  112. android:theme="@style/Base_Translucent" >
  113. <meta-data
  114. android:name="hwc-theme"
  115. android:value="androidhwext:style/Theme.Emui.Translucent" />
  116. </activity>
  117. <activity
  118. android:name="com.huawei.hms.activity.EnableServiceActivity"
  119. android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout"
  120. android:exported="false" >
  121. </activity>
  122. </sdk_activity>
  123. <sdk_meta>
  124. <meta-data
  125. android:name="com.huawei.hms.client.service.name:ads-identifier"
  126. android:value="ads-identifier:3.4.39.302" />
  127. <meta-data
  128. android:name="com.huawei.hms.client.service.name:ads-installreferrer"
  129. android:value="ads-installreferrer:3.4.39.302" />
  130. <meta-data
  131. android:name="com.huawei.hms.min_api_level:apptouch:apptouch"
  132. android:value="1" />
  133. <!-- 用于判断是否集成了本lib -->
  134. <meta-data
  135. android:name="availableLoaded"
  136. android:value="yes" />
  137. <!-- 为后续统计第三方app集成了哪些Kit,因此需要Kit在自己的AndroidManifest.xml文件中定义业务标签元数据 -->
  138. <meta-data
  139. android:name="com.huawei.hms.client.service.name:base"
  140. android:value="base:6.4.0.302" />
  141. <!-- SDK依赖的HMSCore的最低api level元数据 -->
  142. <meta-data
  143. android:name="com.huawei.hms.min_api_level:base:hmscore"
  144. android:value="1" />
  145. <meta-data
  146. android:name="componentverify_ag_cbg_root"
  147. android:value="@string/ag_sdk_cbg_root" />
  148. <meta-data
  149. android:name="com.huawei.hms.jos.versioncode"
  150. android:value="60200301" />
  151. <meta-data
  152. android:name="com.huawei.hms.client.service.name:hianalytics"
  153. android:value="hianalytics:6.4.1.301" />
  154. <meta-data
  155. android:name="com.huawei.hms.min_api_level:hianalytics:hianalytics"
  156. android:value="1" />
  157. <!-- 切记同步修改 HuaweiIdAuthInternalConstant.HMS_SDK_VERSION -->
  158. <meta-data
  159. android:name="com.huawei.hms.client.service.name:hwid"
  160. android:value="hwid:6.4.0.300" />
  161. <meta-data
  162. android:name="com.huawei.hms.min_api_level:hwid:hwid"
  163. android:value="1" />
  164. <!-- 5.3.0 独立授权依赖的api_level为11 -->
  165. <!-- 5.3.0 setCarrierId依赖的api_level为13 -->
  166. <meta-data
  167. android:name="com.huawei.hms.min_api_level:hwid:account"
  168. android:value="13" />
  169. <meta-data
  170. android:name="com.huawei.hms.client.service.name:iap"
  171. android:value="iap:6.3.0.300" />
  172. </sdk_meta>
  173. <sdk_permission>
  174. <uses-permission android:name="android.permission.INTERNET" />
  175. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  176. <uses-permission android:name="com.huawei.hwid.permission.gameservice.archive.access.provider" />
  177. <uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA" />
  178. <!-- Android O版本调用安装需要使用该权限 -->
  179. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  180. <!-- 从应用市场获取服务地需要此权限,从应用市场9.0.0开始支持 -->
  181. <uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA" />
  182. </sdk_permission>
  183. </sdk_config>