📄️ Import SDK
Step 1:
📄️ Login
Method:
📄️ Logout
Method:
📄️ Set Role Info
You need to call method after login SDK successful + Choose Server successful + login into Game successful. We need get roleID, serverGameID, ... from database's game.
📄️ Switch Server Real vs Test
Config file SDKConfig.json, variable typeSdkServer set value = 0 for server Test, value = 1 for server Real.
📄️ Get Auth Token
Method:
📄️ Get DeviceID
Method:
📄️ Multi Purchase
Overview:
📄️ Get DzoCoin - Update DzoCoin
After login SDK successful, to get your Dzocoin + Update Dzocoin every time change, you need to register callback below:
📄️ Custom Multi Purchase Dialog Confirm
To custom this dialog, you need to follow the following steps:
📄️ Tracking Event Game
1. Track Event Game (Custom)
📄️ Rating App
To use this feature, we need to add new library in dependencies of build.grade (Module.app)
📄️ Claim Giftcode From Webview
Flow 1:
📄️ Others
1. Take Screen Shot