I’m currently trying to make the mobile ads with facebook work for my android app.
I did all of the steps required, except the one where I need to add the method:
com.facebook.Settings.publishInstallAsync();
to all of my activities in the onResume() method.
My questions is – do I really have to put this method in ALL of my activities, and if yes – why?
I’m concerned that if I do so – my app will run slower.
Maybe if I put it in the first Launching activity only, it will still work?
Thanks 🙂
That method, as the name implies, runs on a different thread, so unless your app is very resource constrained, should not affect the performance. It will also handle tracking repeat calls to prevent multiple installs being reported, so once it reports on first install, it won’t report again.