From e3409abca917fbc5fd49d6366276fff0e0f60d3e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 15 Apr 2013 14:08:35 +0400 Subject: Initial push notifications support --- Juick/Classes/AccountManager.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Juick/Classes/AccountManager.cs') diff --git a/Juick/Classes/AccountManager.cs b/Juick/Classes/AccountManager.cs index 4741992..1f9ffe5 100644 --- a/Juick/Classes/AccountManager.cs +++ b/Juick/Classes/AccountManager.cs @@ -54,7 +54,22 @@ namespace Juick.Classes } set { IsolatedStorageSettings.ApplicationSettings["authenticated"] = value; } } + + public string NotificationUri + { + get + { + string savedUri; + IsolatedStorageSettings.ApplicationSettings.TryGetValue("notification_uri", out savedUri); + return savedUri; + } + set + { + IsolatedStorageSettings.ApplicationSettings["notification_uri"] = value; + } + } + public void SignOut(Page page) { IsAuthenticated = false; -- cgit v1.2.3