fzhang
4 年前
当前提交
18c23e38
共有 302 个文件被更改,包括 1800 次插入 和 0 次删除
-
21.gitignore
-
23README.md
-
11hhms.keystore
-
8Assets/HuaweiHms.meta
-
151Assets/HuaweiHms/README.md
-
7Assets/HuaweiHms/README.md.meta
-
119Assets/HuaweiHms/hms-ads-debug.aar
-
32Assets/HuaweiHms/hms-ads-debug.aar.meta
-
8Assets/HuaweiHms/src.meta
-
8Assets/HuaweiHms/src/Editor.meta
-
30Assets/HuaweiHms/src/Editor/AfterBuildToDo.cs
-
11Assets/HuaweiHms/src/Editor/AfterBuildToDo.cs.meta
-
8Assets/HuaweiHms/src/hms.meta
-
8Assets/HuaweiHms/src/hms/Android.meta
-
8Assets/HuaweiHms/src/hms/Android/receiver.meta
-
14Assets/HuaweiHms/src/hms/Android/receiver/BroadcastRegister.cs
-
11Assets/HuaweiHms/src/hms/Android/receiver/BroadcastRegister.cs.meta
-
14Assets/HuaweiHms/src/hms/Android/receiver/IBroadcastReceiver.cs
-
11Assets/HuaweiHms/src/hms/Android/receiver/IBroadcastReceiver.cs.meta
-
8Assets/HuaweiHms/src/hms/Android/service.meta
-
37Assets/HuaweiHms/src/hms/Android/service/IPushServiceListener.cs
-
11Assets/HuaweiHms/src/hms/Android/service/IPushServiceListener.cs.meta
-
10Assets/HuaweiHms/src/hms/Android/service/PushListenerRegister.cs
-
11Assets/HuaweiHms/src/hms/Android/service/PushListenerRegister.cs.meta
-
8Assets/HuaweiHms/src/hms/Common.meta
-
20Assets/HuaweiHms/src/hms/Common/Common.cs
-
11Assets/HuaweiHms/src/hms/Common/Common.cs.meta
-
8Assets/HuaweiHms/src/hms/JavaCode.meta
-
72Assets/HuaweiHms/src/hms/JavaCode/HmsClass.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/HmsClass.cs.meta
-
66Assets/HuaweiHms/src/hms/JavaCode/HmsListener.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/HmsListener.cs.meta
-
28Assets/HuaweiHms/src/hms/JavaCode/HmsUtil.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/HmsUtil.cs.meta
-
9Assets/HuaweiHms/src/hms/JavaCode/IHmsBase.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/IHmsBase.cs.meta
-
8Assets/HuaweiHms/src/hms/JavaCode/enum.meta
-
14Assets/HuaweiHms/src/hms/JavaCode/enum/ContentClassification.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/ContentClassification.cs.meta
-
12Assets/HuaweiHms/src/hms/JavaCode/enum/Gender.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/Gender.cs.meta
-
52Assets/HuaweiHms/src/hms/JavaCode/enum/HAEventType.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/HAEventType.cs.meta
-
77Assets/HuaweiHms/src/hms/JavaCode/enum/HAParamType.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/HAParamType.cs.meta
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/NonPersonalizedAd.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/NonPersonalizedAd.cs.meta
-
12Assets/HuaweiHms/src/hms/JavaCode/enum/TagForChild.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/TagForChild.cs.meta
-
12Assets/HuaweiHms/src/hms/JavaCode/enum/UnderAge.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/enum/UnderAge.cs.meta
-
8Assets/HuaweiHms/src/hms/JavaCode/javaClass.meta
-
8Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads.meta
-
60Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/AdParam.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/AdParam.cs.meta
-
25Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/AdProvider.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/AdProvider.cs.meta
-
25Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/Consent.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/Consent.cs.meta
-
25Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/HwAds.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/HwAds.cs.meta
-
38Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/InterstitialAd.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/InterstitialAd.cs.meta
-
63Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RequestOptions.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RequestOptions.cs.meta
-
19Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/Reward.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/Reward.cs.meta
-
71Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardAd.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardAd.cs.meta
-
37Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardAdListener.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardAdListener.cs.meta
-
36Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardVerifyConfig.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardVerifyConfig.cs.meta
-
8Assets/HuaweiHms/src/hms/JavaCode/javaClass/analytic.meta
-
19Assets/HuaweiHms/src/hms/JavaCode/javaClass/analytic/HiAnalytics.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/analytic/HiAnalytics.cs.meta
-
19Assets/HuaweiHms/src/hms/JavaCode/javaClass/analytic/HiAnalyticsTools.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/analytic/HiAnalyticsTools.cs.meta
-
8Assets/HuaweiHms/src/hms/JavaCode/javaClass/base.meta
-
37Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/AGConnectServicesConfig.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/AGConnectServicesConfig.cs.meta
-
19Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/ActivityCompat.cs
-
11Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/ActivityCompat.cs.meta
|
|||
obj/ |
|||
Library/ |
|||
Logs/ |
|||
Temp/ |
|||
Builds/ |
|||
*.sln |
|||
*.csproj |
|||
*.log |
|||
.vs |
|||
.idea |
|||
*.DotSettings.user |
|||
*.gen.* |
|||
obj$ |
|||
obj.meta$ |
|||
|
|||
build/** |
|||
PackageSources |
|||
Packages/.gitignore |
|||
|
|||
SceneDependencyCache.meta |
|||
SceneDependencyCache/ |
|
|||
# Huawei Hms Demo |
|||
***Unity 2019 or higher*** |
|||
***Before build, enter keystore password `123456`, and project key password `123456`*** |
|||
|
|||
key store path `Edit -> Project Settings -> Player -> Android(icon) -> Publishing Settings` |
|||
|
|||
If you add analytic test, you should set activity of `AndroidManifest.xml` |
|||
``` |
|||
<application> |
|||
<activity android:name="com.hms.hms_analytic_activity.HmsAnalyticActivity" |
|||
android:theme="@style/UnityThemeSelector"> |
|||
<intent-filter> |
|||
<action android:name="android.intent.action.MAIN" /> |
|||
<category android:name="android.intent.category.LAUNCHER" /> |
|||
</intent-filter> |
|||
<meta-data android:name="unityplayer.UnityActivity" android:value="true" /> |
|||
</activity> |
|||
... |
|||
</application> |
|||
``` |
|||
Otherwise, just set activity `com.unity3d.player.UnityPlayerActivity` |
|||
|
|||
Before you click `CreateGeo` button, you should click `update with callback-102` to get your position. |
|
|||
���� hhms r�,�N 0��0 |
|||
+* ���B��O�@��)cU�!��·�r%�R�-h���}~�^��E�6��c�r?ܟT
f��N,3��x�/p��[з&��[�\K��$�h�v�I}K�R $ŏTS�#�������u��4f��R��� |
|||
f���N�ل��(�8���]�IlY���xs��۬�<,�lgR��N |
|||
n�������wu��r8o������-��L��oP>J����Z-�mQ\�
�_�H��#1�cu�!N���{{7�8U�C���?�]�O�R�r���1����>�b/�9:���%��meq�]8�_�~�*�;���!z���1����>�ڂ5O�vr\,��u6��v&4kzQ��"$ ����(��04Ӏ ��U�Va����� ���3�)X`#�JC�ܳ/yx�g�g9hp�_�e\O�SG�� `5�f� :#\�a�9���\�~"}B�Bzv�b��.����5�RuZ�$k�7����o&�vTiQ6m�& |