androidandroid-activitycrashbug-trackingbugsense

Does bugsense crash handler need to be called in each activities of an Android application?


My app has 3 activities A,B and C. From A (the "home") i can start B and from B i can start C.

Do i have to call BugSenseHandler.setup(this, MY_API_KEY); only in A or also in B and C?


Solution

  • After contacting BugSense,

    Android, Feb 26 13:42 (EET): Hello and thank you for contacting us, you can place it either on the application activity, or on the first activity that runs on your project. In the documentation we suggest the second practice, since it's easier and quicker for the majority of the developers.

    ------------------------------------------------------------------------------------------------------ BugSense

    As for me, I've been placing it on the Application Activity and it has been working fine.