Android
Market-specific settings refer to the configurations needed to use various functions such as authentication, payment, and notifications for specific markets like Amazon, Huawei, and ONEstore.
Info
For more details about markets that support payments, please refer to the following.
For more details about markets that support authentication, please refer to the following.
Google play games on PC¶
If you are using Google Play Games on PC which is Google's PC environment emulator platform, please check the settings below.
Setting up the necessary libraries in build.gradle¶
Applying hive-authv4-provider-google-playgames
. hive-authv4-provider-google-playgames
includes the play-service-games-v2
library.
… (생략) …
// Play Games on PC 빌드 시 필수
implementation "com.com2us.android.hive:hive-authv4-provider-google-playgames"
… (생략) …
androidmanifest.xml configuration¶
This is the configuration for Google Play Services. It contains the necessary values for Google Play Games login configuration.
<manifest>
<application>
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/game_services_project_id"/>
</application>
</manifest>
Hive console settings¶
To provide the Google Play Games on PC login feature in the game, you need to select the login method and register the authentication key for each AppID in the Hive console.
hive_config.xml configuration¶
To provide the Google Play Games on PC login feature in the game, you need to enter the key value provided by Google Play Games in the hive_config.xml file.
Info
For more details about the hive_config.xml file, please refer to the following.
Remove unused Android permissions¶
Google Play Games on PC does not support the android.hardware.wifi.feature item. If the app is using the permissions below, please remove them.
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
Amazon¶
Common settings for Amazon payment, using push features, and uploading apps to the Amazon Appstore.
Amazon billing settings¶
To receive item information from the Appstore SDK when using Amazon billing, you need to add an encrypted key file at the /assets
location. Refer to the Amazon Appstore Guide to learn how to download and add the AppstoreAuthenticationKey.pem
key.
Amazon notification settings¶
When using Amazon notifications, the app must include a valid API key so that it can receive messages. Please refer to the Amazon Console Guide to generate the API key in the Amazon console and include it in the /assets/api_key.txt file format.