Beispiel #1
0
        public void GetNativeAttribution(string attributionData)
        {
            if (!Application.isEditor)
            {
                if (Adjust.attributionChangedDelegate == null)
                {
                    Debug.Log("Adjust: Attribution changed delegate was not set.");
                    return;
                }

                var attribution = new AdjustAttribution(attributionData);
                Adjust.attributionChangedDelegate(attribution);
            }
        }
Beispiel #2
0
        // Token: 0x06000083 RID: 131 RVA: 0x00004174 File Offset: 0x00002574
        public void GetNativeAttribution(string attributionData)
        {
            if (Adjust.instance == null)
            {
                Debug.Log("adjust: SDK not started. Start it manually using the 'start' method.");
                return;
            }
            if (Adjust.attributionChangedDelegate == null)
            {
                Debug.Log("adjust: Attribution changed delegate was not set.");
                return;
            }
            AdjustAttribution obj = new AdjustAttribution(attributionData);

            Adjust.attributionChangedDelegate(obj);
        }
Beispiel #3
0
        public static void runAttributionChangedDictionary(Dictionary <string, string> dicAttributionData)
        {
            if (instance == null)
            {
                Debug.Log(Adjust.errorMessage);
                return;
            }
            if (Adjust.attributionChangedDelegate == null)
            {
                Debug.Log("adjust: Attribution changed delegate was not set.");
                return;
            }
            var attribution = new AdjustAttribution(dicAttributionData);

            Adjust.attributionChangedDelegate(attribution);
        }
Beispiel #4
0
// GameGrowth update: Setting iOS "Native" methods as static to be able to access without instance
#if UNITY_IOS
        public static void GetNativeAttribution(string attributionData)
        {
            if (IsEditor())
            {
                return;
            }

            if (Adjust.attributionChangedDelegate == null)
            {
                Debug.Log("[Adjust]: Attribution changed delegate was not set.");
                return;
            }

            var attribution = new AdjustAttribution(attributionData);

            Adjust.attributionChangedDelegate(attribution);
        }
Beispiel #5
0
        public void GetNativeAttribution(string attributionData)
        {
            if (instance == null)
            {
                Debug.Log(Adjust.errorMessage);
                return;
            }

            if (Adjust.attributionChangedDelegate == null)
            {
                Debug.Log("adjust: Attribution changed delegate was not set.");
                return;
            }

            var attribution = new AdjustAttribution(attributionData);

            Adjust.attributionChangedDelegate(attribution);
        }