Hi,
So, normally we can instrument and initialize android agent on mobile application at onCreate() method activity, I wondering if we can initialize the agent on specified method or activity ?
I try to initialize agent on other method and it works, but its not recommended because it may be disrupt registering various event regarding activities lifecycle or other network request. if any issue occurs when initialize in other method, try to fix it by initializing the agent in on start (MainActivity onCreate method or Application Class.
I try to initialize agent on other method and it works, but its not recommended because it may be disrupt registering various event regarding activities lifecycle or other network request. if any issue occurs when initialize in other method, try to fix it by initializing the agent in on start (MainActivity onCreate method or Application Class.