- Home /
Unity and SharedUserID for Android
Hi,
I have a parent android app made in Android Studio, which creates a sharedpreference file and lists down a bunch of values/string in those.
I have other android apps which use the values/strings from the above mentioned sharedpreference file from the parent android app.
I am now creating a project in Unity, for which I would like to access the mentioned sharedpreference file. I have included the shared user id in Assets>Plugins>Android>AndroidManifest.xml and I am using the same keystore for all of my Apps (Android and Unity). I tried using PlayerPrefs to try and read from the above sharedpreference file. However, I am unable to do so.
Further reading up on player prefs suggests that it creates a preference file with the name com..xml only.
Any advice on how to proceed from there would be appreciated.
Thanks, Div
did you find the solution? I'm looking for something similar...
Your answer
Follow this Question
Related Questions
Same Playerprefs for 2 games? [Android] 1 Answer
Playerprefs not working on android 0 Answers
PlayerPrefs in android 2 Answers
Using shared preferences in android 1 Answer
Double icon in Android app drawer 1 Answer