Skip to main content
Version: 1.0.0

Version_Config

Purpose​

The Version_Config collection keeps track of informations related to ARShades apps, such as the major version and the version codes, whether the apps are in maintenance, and whether or not to display the search bar.

Document schema​

{
"major_version_ios": "number",
"manutenzione_android": "boolean",
"manutenzione_ios": "boolean",
"show_search_bar": "boolean",
"version_code": "number",
"version_code_ios": "number"
}

Indexes​

This collection does not have external indexes.

Query examples​

// Fetch the Reference Doc from Firebase
const versionConfgRef = doc(db, "Version_Config", versionConfgId);

// Get the Document Snapshot from the Reference Doc
const versionConfgSnap = await getDoc(versionConfgRef);