您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
siyao 37721afb | 4 年前 | |
---|---|---|
Assets | 4 年前 | |
Packages | 4 年前 | |
ProjectSettings | 4 年前 | |
.DS_Store | 4 年前 | |
.gitignore | 4 年前 | |
README.md | 4 年前 | |
hhms.keystore | 4 年前 |
README.md
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.