Configure Info¶
Before you begin¶
- You must Install Soha SDK.
- Supports Android 10.0 and above.
Project Configuration¶
-
Create
client.txtfile in your assets directory according to the following form:{ "app_id": "21005e7c6680a5d2e8ee2ce1512e13d1", "app_id_facebook": "110142746174189", "client_token_facebook": "c63376b5e358e35c599f6ace5817f5b2", "client_name" : "SG111", "client_code": "SG111", }- Replace app_id with app_id provided by SohaGame.
- Replace app_id_facebook with app_id_facebook provided by SohaGame.
- Replace client_token_facebook with client_token_facebook provided by SohaGame.
- Replace client_name with Game_Code provided by SohaGame.(SG401 or SG402,..)
- Replace client_code with Game_Code provided by SohaGame (SG401 or SG402,..)
-
Manifest.xml file configuration
- Add
android: name = "com.soha.sdk.SohaApplication"field in the application tag. -
Use this tag
android:exported="true"in Android Manifest.xml to register -
Please add the following permissions:
- Multidex configuration (For games that need to use multidex)
Add multidex to build.gradle app:
- Add