Skip to content

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

Closed
@prakharprakhar89

Description

@prakharprakhar89
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions