security - Is there a way to secure access to android native libraries packaged within an apk or aar? -


i have native android library secure such specific applications can load them. there way restrict loading applications?

what general solution establishing trust between lets android application , native library? how can native library prevent unauthorized method calls?

use custom encryption , decryption in apk/aar native libs.the runtime decrypted native library , can system.load (from java), or dlopened location on filesystem, including 'external/internal storage'. file name may have no traces of lib or .so.


Popular posts from this blog