1. Configuration and Installation

1. Configuration requirements

  • Unity version ≥ 2019.x.x

  • Language version ≥ C# 6.0

2. Installation Instructions

We recommend upgrading to FalconCore and Falcon Analytic 3.0.0 as version 2.x.x has been deprecated and will be removed on April 15, 2024 (games that have not yet been updated will only have no analytics data on data4game, other features run normally).

  1. To install SDK version 3.x.x, if you're installing SDK versions 2.x.x or older, you'll need to uninstall the entire old SDK and reinstall the new one to ensure no later exceptions occur. To facilitate reinstallation, please follow these steps:

  2. Import the FalconCore package into the unity project, and move the package to the desired directory.

Import package FalconCore
Move the package to the desired directory

Note: The Core package does not include the JsonDotNet package. If you wish to download it, please do so here. The package is located at FalconCore/ThirdParty/JsonDotNet.

Import JsonDotNet
  1. Contact us through data4game.com to receive fKey, the guide doc is providedat Hướng dẫn lấy FalconKey(FKey)

  2. Type fKey into the Falcon/FalconMenu on the toolbar.

Type fKey
  1. Click Login (fKey will be saved and login will be done automatically next time, you only have to enter fKey to log in again when updating FalconCore).

  2. After Login is complete, the Menu will display a list of APIs.

The menu will display a list of APIs
  1. Click Install to install the desired API (we recommend downloading and using only official APIs with detailed documentation). Click the small red button next to it to uninstall the API. After updating to a new version, the old version of some dependent Plugins may be no longer compatible. It will be necessary to update the new version of those Plugins again.

  2. More detailed installation instructions (if any) will be described on each API's page.

Notes: Some common errors and how to fix them can be found at III.QnA

3. Debug Log On/Off

The SDK's log is turned off by default to avoid logging unnecessary information, affecting the game development process. Only some error logs are displayed to warn users (no exceptions are thrown) when detecting logical conflicts.

To show the debug log of SDK, please perform the following steps:

  • FalconCore : #ecbd77 - orange

  • FalconAnalytics : #35adcf - blue

To perform debugging with SDk logs on the app, please perform the following steps:

  1. Access File -> Build Settings...

  1. Click Player Settings...

  1. Select the corresponding platform, then find Other Settings -> Scripting Define Symbols and add FALCON_LOG_DEBUG.

Last updated