SkygearIO / skygear-SDK-iOS

Skygear SDK for iOS
https://skygear.io
Other
10 stars 28 forks source link

Persist current user information #49

Closed cheungpat closed 8 years ago

cheungpat commented 8 years ago

I am suggesting that we persist current user information in SKYContainer. While the whoami action solves the problem for the client to find out the current user, asking the server each time the client want to figure out the username seems excessive.

The swift example app have this problem and it workaround this problem by storing the username outside of SKYContainer.