Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
I am developing the same application in both Android and iOS using Xamarin Native. I want to add session for login in both the platforms. Is there any way I can write shared code between both the platforms for session management? If not then how to manage session native to both platforms? Please provide a working example of Session Management in xamarin for both Android and iOS.
Thanks in advance.


What I have tried:

I found that SharedPreferences or SQLite can be used to store session data. But I am looking for generic solution for both the platforms.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900