Publish an app with native executables in Android play store

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

I have been working on a project which has legacy code ( more than 2 decades old), so I am trying to deploy my project as an android app with a target API level of 29+. But I could see privacy changes introduced after Android 10 Android privacy policy changes, which doesn't allow binaries to be executed from the app home directory. My project has an executable that used to work fine till API 28. Then I came to know that only files with lib[filename].so format are extracted into the app home directory, which effectively leaves out my binary from being extracted into the same. So, after going through some forums, I came to know that

if we can rename a native binary file in the form of lib[binaryfile].so, it's working smoothly as before.

So my question is: Is it allowed to publish an apk with the renamed binary executable to the google play store?

This is critical, any pointers would be helpful as I am new to android app development, and to the play store.
 

Forum statistics

Threads
943,212
Messages
6,917,831
Members
3,158,883
Latest member
Abdul Ali