Facebook为Android安装跟踪 [英] Facebook installs tracking for Android

查看:176
本文介绍了Facebook为Android安装跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们仍在调查中,为什么我们的安装未得到跟踪.我已经与Facebook开了另一张支持票证,以阐明安装和登录是相等还是不同的事件,但我也想深入了解Ti.Facebook模块.由于易于更新,我们一直在Android上进行测试.

We are still in process of investigation, why our installs do not get tracked. I have opened another support ticket with Facebook to clarify if install and login are equal or different events, but I also want to dig more into the Ti.Facebook module. We've been testing on Android because of the ease of updates.

这是Facebook SDK上的说明,需要做些什么来跟踪安装:

This is the explanation on Facebook SDK, what needs to be done, to track installs:

https://developers.facebook.com/docs/app- ads/sdk#install-tracking

这是在Android中登录安装的代码:

And this is the code to log in installs in Android:

protected void onResume() { 
  super.onResume(); 
  AppEventsLogger.activateApp(this); 
}

我搜索了整个Ti.Facebook模块,但没有找到对AppEventsLogger.activateApp的调用

I searched all over Ti.Facebook module, and I have not found a call to AppEventsLogger.activateApp

可能是错误,还是有其他方法可以在安装后首次激活记录器?

Can it be a bug or is there some other way to activate the logger first time upon install?

推荐答案

我已修复此错误,并向Ti.Facebook模块提交了拉取请求.我们已经发布了一个版本进行检查,该版本自昨天下午以来一直存在,并且现在对于我们的启动正常工作.

I have fixed this bug and submitted pull request to Ti.Facebook module. We have published a release to check it, it´s there since yesterday afternoon and it works correctly now for our startup.

拉取请求: https://github.com/appcelerator-modules/ti.facebook/pull/37

这篇关于Facebook为Android安装跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆