浏览代码

update format

/unity2020
mk 3 年前
当前提交
f855f729
共有 5 个文件被更改,包括 5 次插入1 次删除
  1. 2
      Documentation/analyticskit.md
  2. 1
      Documentation/cn/Documentation/locationkit.md
  3. 1
      Documentation/cn/Documentation/pushkit.md
  4. 1
      Documentation/locationkit.md
  5. 1
      Documentation/pushkit.md

2
Documentation/analyticskit.md


![Images/hms/AgcConnectServicesJson.png](Images/hms/AgcConnectServicesJson.png)
9. Configuring Obfuscation Scripts ([Reference](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-appendix-d-0000001050167398))
(Optional) Configure the keep.xml file as follows to keep layout resources if you have enabled R8 resource shrinking (with shrinkResources being set to true in the project-level build.gradle file) and strict reference checks (with shrinkMode being set to strict in the res/raw/keep.xml file). Not keeping layout resources will lead to app rejection during release to HUAWEI AppGallery.
- (Optional) Configure the keep.xml file as follows to keep layout resources if you have enabled R8 resource shrinking (with shrinkResources being set to true in the project-level build.gradle file) and strict reference checks (with shrinkMode being set to strict in the res/raw/keep.xml file). Not keeping layout resources will lead to app rejection during release to HUAWEI AppGallery.
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

1
Documentation/cn/Documentation/locationkit.md


![Images/hms/AgcConnectServicesJson.png](Images/hms/AgcConnectServicesJson.png)
9. 配置混淆脚本
编译APK前需要配置混淆配置文件,避免混淆HMS Core SDK导致功能异常。([参考文档](https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/config-obfuscation-scripts-0000001188775555))
- 在您的Unity项目里打开混淆配置文件,加入排除HMS Core SDK的混淆配置。
```

1
Documentation/cn/Documentation/pushkit.md


![Images/hms/AgcConnectServicesJson.png](Images/hms/AgcConnectServicesJson.png)
9. 配置混淆脚本
编译APK前需要配置混淆配置文件,避免混淆HMS Core SDK导致功能异常。([参考文档](https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/android-config-obfuscation-scripts-0000001050176973))
- 在您的Unity项目里打开混淆配置文件,加入排除HMS Core SDK的混淆配置。
```

1
Documentation/locationkit.md


![Images/hms/AgcConnectServicesJson.png](Images/hms/AgcConnectServicesJson.png)
9. Configuring Obfuscation Scripts
Before building the APK, configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated.([Reference](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/config-obfuscation-scripts-0000001188775555))
- Open the proguard file in your Unity project and add configurations to exclude the HMS Core SDK from obfuscation.
```

1
Documentation/pushkit.md


![Images/hms/AgcConnectServicesJson.png](Images/hms/AgcConnectServicesJson.png)
9. Configuring Obfuscation Scripts
Before building the APK, configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated.([Reference](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-config-obfuscation-scripts-0000001050176973))
- Open the proguard file in your Unity project and add configurations to exclude the HMS Core SDK from obfuscation.
```

正在加载...
取消
保存