浏览代码

update format

/unity2020
mk 3 年前
当前提交
e01adc25
共有 9 个文件被更改,包括 49 次插入35 次删除
  1. 68
      .DS_Store
  2. 1
      Documentation/analyticskit.md
  3. 1
      Documentation/apm.md
  4. 1
      Documentation/cn/Documentation/analyticskit.md
  5. 1
      Documentation/cn/Documentation/apm.md
  6. 3
      Documentation/cn/Documentation/locationkit.md
  7. 3
      Documentation/cn/Documentation/pushkit.md
  8. 3
      Documentation/locationkit.md
  9. 3
      Documentation/pushkit.md

68
.DS_Store


Bud1   tsbwspblob  @� @� @� @Assetsbwspblob�bplist00�  ]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{109, 435}, {887, 436}} %1=I`myz{|}~��AssetsdsclboolAssetslg1Scomp^AssetsmoDDblobu������AAssetsmodDblobu������AAssetsph1Scomp �AssetsvSrnlongDocumentation~bwspblob�bplist00�
Bud1    tsbwspblob  @� @� @� @ Assetsbwspblob�bplist00�  ]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{109, 435}, {887, 436}} %1=I`myz{|}~��AssetsdsclboolAssetslg1Scomp^AssetsmoDDblobu������AAssetsmodDblobu������AAssetsph1Scomp �AssetsvSrnlong Documentationbwspblob�bplist00�
]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{45, 303}, {770, 436}} %1=I`myz{|}~��Documentation~icvpblob�bplist00�
_backgroundColorBlueXiconSizeXtextSize_backgroundColorRed^backgroundType_backgroundColorGreen[gridOffsetX_scrollPositionY[gridOffsetY\showItemInfo_viewOptionsVersion_scrollPositionXYarrangeBy]labelOnBottom_showIconPreview[gridSpacing#?�#@P#@(##@e�Tnone #@K+AJShw��������"+4=?HIKTYZ[dDocumentation~lg1Scomp�Documentation~lsvCblobxbplist00�
FGH
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � #(-27<A� 
]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{88, 143}, {1046, 728}} %1=I`myz{|}~�� DocumentationlsvCblob
bplist00�
UVW
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � "&+05:>CGLP� 
WvisibleUwidthYascendingZidentifier � Tname� #Xubiquity� 
 �\dateModified� "[dateCreated� 
%' aTsize� 
*
, s Tkind� /
1d Ulabel� 4
6K Wversion� 9
;, Xcomments� >@�^dateLastOpened� DYdateAdded#@(Tname#@0 .@H\epy���������������������� 
  !#$)2356;DEGHNWXZ[clmpqz�������������J�Documentation~lsvpblob]bplist00�
EFG
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � #'+05:?Xcomments^dateLastOpened\dateModified[dateCreatedTsizeUlabelTkindWversionTname�
UindexUwidthYascendingWvisible, � �� $
� �($�,-
a �12
d �67
WvisibleUwidthYascendingZidentifier , Tname�UwidthYascendingWvisibleXubiquity#� 
! �\dateModified� %[dateCreated� 
(* aTsize� 
-
/ s Tkind� 2
4d Ulabel� 7
9K Wversion� 
= Xcomments� @B�^dateLastOpened�DYdateAdded�IK�ZshareOwner�IO_shareLastEditor�IS_invitationStatus#@(\dateModified#@0 .@H\epy������������������  %&'3<=?@ENOQRW`acdjstvw����������������������!.7Y8 Documentationlsvpblobabplist00�
DEF
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � #(-25:>XcommentsUlabelWversion[dateCreatedTsize\dateModifiedTkindTname^dateLastOpened�
UindexUwidthYascendingWvisible, �
d �$%
K �)*��./
a � *
 �67
s �;<
K �@A
s �;
� #@(Tname#@0 .@H\epy���������������')+,-689:CEFGPRTUV_acdenprst}������������I�Documentation~moDDblob���ADocumentation~modDblob���ADocumentation~ph1ScompDocumentation~vSrnlong E DSDB `�(0@� @� @_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � #(-27<A� 

WvisibleUwidthYascendingZidentifier � Tname� #Xubiquity� 
 �\dateModified� "[dateCreated� 
%' aTsize� 
*
, s Tkind� /
1d Ulabel� 4
6K Wversion� 9
;, Xcomments� >@�^dateLastOpened� DYdateAdded#@(Tname#@0 .@H\epy���������������������� 
  !#$)2356;DEGHNWXZ[clmpqz�������������J�Documentation~lsvpblob]bplist00�
EFG
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSiz
 �?@�#@(\dateModified#@0 .@H\epy���������������')+,-68:;<EGIJKTVXYZcdenprst}�����������H� DocumentationvSrnlong E DSDB `�(0@� @� @ .@H\epy������������������  %&'3<=?@ENOQRW`acdjstvw����������������������!.7Y8 Documentationlsvpblobabplist00�
DEF
_viewOptionsVersion_showIconPreviewWcolumns_calculateAllSizesXtextSizeZsortColumnXiconSize_useRelativeDates � #(-25:>XcommentsUlabelWversion[dateCreatedTsize\dateModifiedTkindTname^dateLastOpened�
UindexUwidthYascendingWvisible, �
d �$%
K �)*��./
a � *
 �67
s �;
 �?@�#@(\dateModified#@0 .@H\epy���������������')+,-68:;<E

1
Documentation/analyticskit.md


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.
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

1
Documentation/apm.md


```
* Add the following items to the proguard file in your Unity project for obfuscation configurations([Reference](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-apm-android-getstarted-0000001052887262)):
```
-keep class com.huawei.agconnect.**{*;}
-dontwarn com.huawei.agconnect.**

1
Documentation/cn/Documentation/analyticskit.md


9. 配置混淆脚本 ([参考](https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/android-appendix-d-0000001050167398))
- (可选)当您启用R8资源缩减(项目级“build.gradle”文件中“shrinkResources”属性为“true”)和严格引用检查(“res/raw/keep.xml”文件中的“shrinkMode”为“strict”)时,请您配置“keep.xml”文件手动保留layout资源,确保应用正常通过华为应用市场上架审核。
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

1
Documentation/cn/Documentation/apm.md


```
* 在您的Unity项目里打开混淆配置文件,添加以下排除项([参考华为文档](https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-apm-android-getstarted-0000001052887262)):
```
-keep class com.huawei.agconnect.**{*;}
-dontwarn com.huawei.agconnect.**

3
Documentation/cn/Documentation/locationkit.md


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

-keep public class com.huawei.location.nlp.network.** {*; }
-keep class com.huawei.wisesecurity.ucs.**{*;}
```
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

3
Documentation/cn/Documentation/pushkit.md


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

-keep class com.huawei.updatesdk.**{*;}
-keep class com.huawei.hms.**{*;}
```
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

3
Documentation/locationkit.md


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.
```
-ignorewarnings
-keepattributes *Annotation*

-keep public class com.huawei.location.nlp.network.** {*; }
-keep class com.huawei.wisesecurity.ucs.**{*;}
```
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

3
Documentation/pushkit.md


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.
```
-ignorewarnings
-keepattributes *Annotation*

-keep class com.huawei.updatesdk.**{*;}
-keep class com.huawei.hms.**{*;}
```
```
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"

正在加载...
取消
保存