Skip to main content

Cloud Game Login Support

Unity

In the Player Network SDK directory, modify the INTL_GAME_ACTIVITY_CLASS_NAME value in the Plugins/Android/AndroidManifest.xml file to configure the full name of the activity on the main interface of the game.

<meta-data
android:name="INTL_GAME_ACTIVITY_CLASS_NAME"
android:value="{GameActivityClassName}" />
  • Replace {GameActivityClassName} with the actual main activity name of the game.

Assuming that the main interface activity of the game is com.intlgame.unity.MainActivity, the metadata should be configured as:

<meta-data
android:name="INTL_GAME_ACTIVITY_CLASS_NAME"
android:value="com.intlgame.unity.MainActivity" />

Image: Cloud Game Login Support Unity

Unreal Engine

Inside the following node in the UPL file of the game's (not Player Network SDK) Android project:

<addElements tag="application">

Add the following configuration:

<meta-data
android:name="INTL_GAME_ACTIVITY_CLASS_NAME"
android:value="{GameActivityClassName}" />
  • Replace {GameActivityClassName} with the actual main activity name of the game.

Assuming that the main interface activity of the game is com.epicgames.ue4.GameActivity, the metadata should be configured as:

<meta-data
android:name="INTL_GAME_ACTIVITY_CLASS_NAME"
android:value="com.epicgames.ue4.GameActivity" />

Image: Cloud game login supports UE