Example #1
0
        public IPsdkAppsFlyer                                   GetAppsFlyerService()
        {
            if (!_psdkSetup)
            {
                return(null);
            }

            if (null != _appsFlyerService)
            {
                return(_appsFlyerService);
            }

            _appsFlyerService = GettingServiceByReflection <IPsdkAppsFlyer>("PsdkAppsFlyerService");

            if (null != _appsFlyerService)
            {
                return(_appsFlyerService);
            }

            if (!_silent)
            {
                Debug.Log("Please import PSDKAppsFlyer.unitypackage to use AppsFlyer services !");
            }
            return(null);
        }
 public void Init()
 {
     _psdkAppsFlyer = PSDKMgr.Instance.GetAppsFlyerService();
 }