parse-community / Parse-SDK-dotNET

Parse SDK for .NET, Xamarin, Unity.
http://parseplatform.org
Apache License 2.0
322 stars 260 forks source link

ParseUser.getcurrentuser() is returning null in Xamarin form using Version 2.0 develop 1 #344

Closed prakharprakhar89 closed 3 years ago

prakharprakhar89 commented 3 years ago
client = new ParseClient(App.APPId, App.Server, App.Key,
                new LateInitializedMutableServiceHub { },
   new MetadataMutator
   {
       EnvironmentData = new EnvironmentData { OSVersion = Environment.OSVersion.ToString(), Platform = Device.RuntimePlatform, TimeZone = TimeZoneInfo.Local.StandardName },

       HostManifestData = new HostManifestData { Name = Application.Current.Id.ToString(), Identifier = Assembly.GetCallingAssembly().GetName().Version.ToString(), ShortVersion = Assembly.GetCallingAssembly().GetName().Version.Build.ToString(), Version = Assembly.GetCallingAssembly().GetName().Version.Build.ToString() }
   }

                );
client.Publicize();

client.LogInAsync(UserNameText, UserPasswordText);

Problem when App closed and reopen the app====== ParseUser parseuser = client.GetCurrentUser(); here parseuser is getting null

prakharprakhar89 commented 3 years ago

anybody can help me with this?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.