Is there any limit or bug in Application.Current.Properties?

dhkangdhkang Member ✭✭

hello everyone

now i'm using xamarin.forms

especially i use Application.Current.Properties aka mobile dictionary for saving some data.

in my case i store some token and url.

then recently i add BackGroundColor for providing theme.

BackGroundColor type was Color (Xamarin.Forms.Color) then after saving Color,

next start all of data(some token, url..) was deleted.

when i changed BackGroundColor type to string(Color hex) then it works


  • AhmadFrazAhmadFraz Member ✭✭

    Application.Current.Properties allows only primitive data types. Use these data types to store data on properties and it works like charm.

Sign In or Register to comment.