Reputation: 101
I have an requirement where I need to back up shared preferences data of the android library so that if the user reinstalls the application I can still get back the details. I know we have Android backup(https://developer.android.com/guide/topics/data/backup) which I think works for application
but not for library
.
Upvotes: 0
Views: 274
Reputation: 93569
No, that isn't done at the library level. The installed application doesn't even know what libraries it uses, an installed app with libraries is identical to an installed app that had everything built in. The application that uses your library needs to do the backup.
Upvotes: 1