This is not a question at all that this can be done or not ( There is no reason it can't all be done on-device. )
Question is will this be ethical .. I will not be comfortable using a device that logs every API an app on it is calling.
Question is will this be ethical .. I will not be comfortable using a device that logs every API an app on it is calling.