jamesmontemagno / SettingsPlugin

Read and Write Settings Plugin for Xamarin and Windows
MIT License
324 stars 80 forks source link

Settings Key shared across other applications #155

Closed LeoJHarris closed 5 years ago

LeoJHarris commented 5 years ago

Hi all,

This is a quick question that made me wonder, if two applications have the same key in their settings classes i.e. TheKey

AppSettings.GetValueOrDefault(TheKey, _settingsDefault);

Would it be possible that those two applications are sharing the same object when they get it from AppSettings or would this be isolated to each app, because I have two apps that have share the same Key and I'm thinking I might need to change those key names?

jamesmontemagno commented 5 years ago

Apps are sandboxed and the data is persisted to the app itself. Android used to have a concept of world readable, but that is a huge gap in security and they mostly don't support that.

On iOS you can do it between your bundled apps such as phone and watch with a group.