I looked at the Facebook SDK 3.0 to try and figure out how to track the installations coming from the Facebook campaign, and saw this in the documentation:
For the FB Android SDK 3.0, add the following to onResume () of each activity in your application: com.facebook.Settings.publishInstallAsync (context, YOUR_APP_ID);
I have two main questions:
Why does this happen in every action, and not in launch activity?
Why does this happen in the onResume method instead of onStart ? Android recommends not doing such things in onResume .
Edit - even though asynchronously doing this again and again seems silly and optional
thepoosh
source share