Android
新しい
以下は、GoogleログインおよびGoogle Playストアのマーケット支払いをサポートするアプリを開発するためのhive_config.xmlファイルの例です。Com2uSのHive SDKを使用しています。この例を参照して、ファイルに対応する情報を入力してください。詳細については、基本設定ガイドを参照してください。
<properties>
    <!-- Hive SDK common settings: START -->
    <appId>com.sample.your</appId>
    <gameLanguage>en</gameLanguage>
    <!-- Select the server for the Hive platform. sandbox for development, real for production
        (sandbox, real) -->
    <zone>real</zone>
    <!-- Enable or disable logs for internal SDK operations
        (true, false) -->
    <useLog>false</useLog>
    <!-- Company settings
        (C2S: Com2uS, GVI: Com2uS Holdings) -->
    <company>C2S</company>
    <!-- Channel settings
        (C2S: Hive platform) -->
    <channel>C2S</channel>
    <!-- Payment market settings
        (GO: Google Play, LE: Com2us Lebi, AP: Apple App Store) -->
    <market>GO</market>
    <!-- Set the HTTP Connect Timeout used internally by the Hive SDK in seconds
        (Do not change unless necessary) -->
    <httpConnectTimeout>8</httpConnectTimeout>
    <!-- Set the HTTP Read Timeout used internally by the Hive SDK in seconds
        (Do not change unless necessary) -->
    <httpReadTimeout>8</httpReadTimeout>
    <agreementDetermineBase>device</agreementDetermineBase>
    <!-- Hive SDK common settings: END -->
    <!-- Hive SDK feature-specific settings: START -->
    <!-- Authentication feature settings: Use Google authentication -->
    <providers>             
        <google playAppId="123456789012"  clientId="123456789012-abc.apps.googleusercontent.com"  serverClientId="123456789012-abc.apps.googleusercontent.com"  reversedClientId="com.googleusercontent.apps.123456789012-abc"  deviceFlowClientId="331526026701-gn1abq1ev23nqj7rdvvlaamf7ii4f3u9.apps.googleusercontent.com" />
    </providers>
    <!-- Hive SDK feature-specific settings: END -->
</properties>
Info
Hive SDKの設定は、アプリをビルドする前に設定ファイルに保存することができるか、アプリが実行中の間に変更することができます。詳細については、Hive SDK設定を確認してください。