I developed a dictionary where I need to copy the database file into anothers app internal storage. I achieved it with same sharedUserId
in manifest in both apps.
android:sharedUserId="edu.games.main.permission.database"
android:sharedUserLabel="@string/sharedUserLabel"
The system works. When I generate a signed APK of my dictionary and my app, which installs the data into the internal memory of dictionary, it works okay.
But, when I upload those signed apps on Google Play and download it from there, this problem appears:
EACCES (Permission denied)
Does Google Play somehow modify the app? It works on without Google Play, but it does not with it.
Are there any suggestions how to copy an external database from Google Play and install it into internal memory of your application without using server outside of Google Play?