How can I store login credentials in xamarin forms, in xamarin android i was able to use shared preference but here if I use it would not work for Iphone?
Kindly help me with this, I am totally new to xamarin.
I use an addon Xam.Plugin.Settings
Can you give me any sample or example code for it? there is no example.
And thanks adam for quick reply.
that page has a walkthrough on how to use and setup, if that doesn't help I will post my code I am using and see if that will help.
@Adam, I checked it but still not able to get, it would be great help if you share your code...
I'd read this guide
Might be a better option for storing passwords etc. If you do use the settings pluggin or SQLite etc then I'd suggest encrypting the credentials before storing.
If you use akavache https://github.com/akavache/Akavache credentials are automatically encrypted and it's very easy to use.
Secure Storage Plugin saves sensitive data in platform specific secure storage.
You could use Xamarin.Essential package in nuget,
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies