Android Question how to use now "sharedUserId" in 2 apps ?

peacemaker

Expert
Licensed User
Longtime User
SMS permissions are now restricted. So the 1-st app (from Play Market) will offer to use 2-nd app version from my server, with SMS permissions.
How to setup both apps to use the same SQLite db ?

And how to tie it with "build configurations" for making 2 apps separately.

I guess, that the SQLite base of the 1-st app may be removed after installation of 2-nd app.
So, seems, 2-nd app must copy all files of the 1-st app at the very first start. Isn't it ?
But how ?
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Thanks, Erel, your previous answer looks like if the 1st device has no External memory, just Internal - it means that "sharedUserId" will not help at all ?
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
And how to get the files from 1st app ?
 
Upvote 0
Top