Skip to main content

Mobile Packaging Guide

Mobile integration covers many third-party channels, and platform configurations vary between Android and iOS. Pay special attention during packaging in Unity and Unreal.However, don't worry. This article will guide you step-by-step through the packaging process.

Prerequisites​

Please ensure PlayerNetwork SDK is integrated and functioning normally.

For details, please refer to Player Network SDK Integration

Android​

1. Firebase Configuration​

The path for the Firebase configuration file is:

Android: Assets/Plugins/Android/google-services.json

Ensure that the Firebase configuration file for the corresponding platform has not been deleted and that all configuration items are correct.

2. Version-specific Android adaptation documentation​

For more version-specific Android adaptation documentation, please refer to:

iOS​

1. Merge Privacy Manifest​

Version requirements: Player Network SDK V1.22 and above

Starting in spring 2024, for apps that need to be updated or uploaded to Apple App Store Connect, developers must clearly declare the reasons for use to show how the app uses required reason API (APIs that require a reason for use to be submitted). For more information, see Upcoming third-party SDK requirements.

For affected Player Network SDK plug-ins, manual merging is required for INTLFoundation, INTLCore, and INTLGarena. INTLGarena only needs to be configured if Garena integration is confirmed for the project.
Additionally, INTLLine is automatically integrated by Player Network SDK without extra action.

Since privacy manifests from other third-party SDKs have not been released yet, the Player Network SDK privacy manifest does not currently include the corresponding content.To view the list of plugins yet to be released, see iOS 17 Privacy Manifest.

Steps

  1. Find the privacy manifest PrivacyInfo.xcprivacy for the required plugin in the Player Network SDK output directory.
PluginPath
INTLFoundation/Plugins/iOS/INTLSDK/INTLFoundation/INTLFoundation.framework/PrivacyInfo.xcprivacy
INTLCore/Plugins/iOS/INTLSDK/INTLCore/INTLCore.framework/PrivacyInfo.xcprivacy
INTLGarena/Plugins/iOS/INTLSDK/INTLGarena/INTLGarena.framework/PrivacyInfo.xcprivacy
  1. Compare the four nodes in the PrivacyInfo.xcprivacy from Player Network SDK with the corresponding contents in the project's PrivacyInfo.xcprivacy, and merge based on the following conditions.

    1. Privacy Nutrition Label Types (NSPrivacyCollectedDataTypes) is the node describing types of data usage:
      Compare the item values for Collected Data Type (NSPrivacyCollectedDataType) in each; if there are differences, add them to the project file.
      If any values are the same, compare Collection Purposes (NSPrivacyCollectedDataTypePurposes); if there are differences, add them to the project file.

    2. Privacy Tracking Domains (NSPrivacyTrackingDomains) is the node for the domain tracking list:
      Compare the corresponding nodes; if there are differences, add them to the project file.

    3. Privacy Tracking Enabled (NSPrivacyTracking) describes whether the App Tracking Transparency feature is enabled:
      Compare the corresponding nodes. If the value in the Player Network SDK privacy manifest is YES, modify the project file.

    4. Privacy Accessed API Types (NSPrivacyAccessedAPITypes) is the node describing the types of APIs used:
      Compare the item values for Privacy Accessed API Type (NSPrivacyAccessedAPIType) in each. If there are differences, add them to the project file.
      If any values are the same, compare Privacy Accessed API Reasons (NSPrivacyAccessedAPITypeReasons); if there are differences, add them to the project file.

  2. Generate a privacy report via Xcode 15 to verify it meets expectations.

2) INTLConfig.ini Configuration​

note

When manually modifying the INTLConfig.ini configuration, please contact the Player Network Assistant to confirm whether your changes meet the expected requirements. For details, see SDK Config Notes.

Please configure according to the instructions in INTLConfig.ini.

3. Firebase Configuration​

The path for the Firebase configuration file is:

iOS: Assets/Plugins/iOS/INTLSDK/INTLFirebase/ThirdSDK/GoogleService-Info.plist

Ensure that the Firebase configuration file for the corresponding platform has not been deleted and that all configuration items are correct.

4. Version-specific iOS adaptation documentation​

For more version-specific iOS adaptation documentation, please refer to: