f-miyu / Plugin.CloudFirestore

MIT License
121 stars 44 forks source link

how can i get Automatic IDs into collections #70

Open AlexisVidal opened 3 years ago

AlexisVidal commented 3 years ago

is there a way to get how can i get Automatic IDs into get

angelru commented 3 years ago
        public static string GenerateRandomId()
        {
            return CrossCloudFirestore.Current.Instance.Collection("randomPath").Document().Id;
        }
angelru commented 3 years ago

@AlexisVidal If it solved your problem, please close the issue.