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?
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?
I've used it in several app by calling it in the onCreate of Application object (mainly so it'll catchup any errors in the app initialisation. It's also worth noting as of v3 of the jar i believe the setup
method is remove and now use initAndStartSession
@Override
public void onCreate() {
super.onCreate();
BugSenseHandler.initAndStartSession(this, BUG_SENSE_API_KEY);
}
After contacting BugSense,
As for me, I've been placing it on the Application Activity and it has been working fine.