How to limit opening sqlite database in android library project when creating jar file

I am creating an Android library project in android studio and have a dependent jar file inside the library project.

The basic idea is that I can distribute this jar file so that other applications can easily integrate this functionality using the jar file in their applications.

I used the SQLite database in an Android library project. But I want to restrict the user to open the SQLite database . So, is there a way to limit the use of Proguard or something else?

I added below link to create .jar file with dependencies

Android studio makes jar file with dependencies

After creating the .jar, I use this jar for testproject for testing, and I can open the created SQLite database that I want to limit.

+4
source share

Source: https://habr.com/ru/post/1649519/


All Articles