Example #1
0
 private void UpdateCredentialsInPersistentStore()
 {
     _ps.UpdateCredentials(_netClient.Url, _netClient.TenancyName, _netClient.UserName, _netClient.Password, _netClient.AuthToken);
     if (!UrlList.Contains(_netClient.Url))
     {
         UrlList.Add(_netClient.Url);
         NotifyPropertyChanged(nameof(UrlList));
     }
 }
Example #2
0
        public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
        {
            //ApplicationLogic.OpenFileUrl(url.AbsoluteString);

            NSNotificationCenter.DefaultCenter.PostNotificationName("OpenUrl", url);

            if (!UrlList.Contains(url.Path))
            {
                UrlList.Add(url.Path);
            }

            Debug.WriteLine("imported url = " + url.ToString());

            return(true);
        }