コード例 #1
0
        public override void OnCreate()
        {
            base.OnCreate();
            //app init ...

            if (Build.VERSION.SdkInt >= BuildVersionCodes.IceCreamSandwich)
            {
                RegisterActivityLifecycleCallbacks(new TuneActivityLifecycleCallbacks());
            }

            tune = Tune.Init(this.ApplicationContext, TUNE_ADVERTISER_ID, TUNE_CONVERSION_KEY);
            tune.SetFacebookEventLogging(true, false);
            tune.RegisterDeeplinkListener(new TuneDeeplinkListener());
        }