Mobile SDK Lifecycle - SessionInfo
In Mobile SDK5, to implement lifecycle metrics, I am aware that we add the 'lifecycle start' and 'lifecycle pause' in onResume and onPause blocks respectively in native code. We get calls hence which can be seen in Reports under Custom Links as - AMACTION:Lifecycle.and SessionInfo.
Was wondering how is SessionInfo call triggered? Since i dont see it being called explicitly in code. Or does adding lifecycle code to onResume and onPause by defaults enables this as well.