Hello, does someone know the lifecycle of a loaded cpp library using System.loadLibrary?
I want to run frida-detection, code injection detection using a . .cpp library, it has an endless loop where it keeps detecting injection.
Will it keep my app running in the background and wasting battery? Will the library get closed when my app isn't used etc?