Open
Description
Attempting to use this in a library that is shared between two apps. I have set the sharedUserId to the same ID in both apps (and the library). For the context I create a packageContext using the package name of one of my apps. However, I am not able to store the value in one app and fetch it in the other. Just curios to see if this is something that this AWESOME package is preventing me from doing. Should I be looking to move to a Content Provider instead that can use this package to secure the data at rest? Thanks in advance.
My code
`val sharedContext = context.createPackageContext("com.one.of.my.apps", Context.MODE_PRIVATE)
SecuredPreferenceStore.init(
sharedContext,
storeName,
keyPrefix,
seedKey,
DefaultRecoveryHandler()
)
sharedPreferences = SecuredPreferenceStore.getSharedInstance()`