补充adjust上报

This commit is contained in:
xiaohui.wang 2022-07-14 15:03:04 +08:00
parent f6ef1d7241
commit 5593cccfd5
1 changed files with 8 additions and 1 deletions

View File

@ -731,7 +731,14 @@ public class JoypacAnalyticsManager : MonoBehaviour
LogTool.DebugLog("adjust:attribution to json =" + json);
ReceiveAdJustData(json);
// ...
#if JOYPAC_Volcano_OS && UNITY_ANDROID && !UNITY_EDITOR
JoypacAdjustFinder joypacAdjustFinder = new JoypacAdjustFinder(attribution);
string jsonFinder = JsonUtility.ToJson(joypacAdjustFinder);
JoyPacCurrentcyAdSingle currAdSingleTemp = new JoyPacCurrentcyAdSingle();
Debug.Log(jsonFinder);
currAdSingleTemp.finderGlobalProfileSet(jsonFinder);
#endif
#if JOYPAC_Volcano_OS && UNITY_IOS //&& !UNITY_EDITOR
JoypacAdjustFinder joypacAdjustFinder = new JoypacAdjustFinder(attribution);