Skip to main content
Version: 1.0.0

ARshades_skins

Purpose​

The ARshades_skins collection manages the UI appearance for each catalogue in ARShades mobile apps (Android and iOS). Based on the name field, it selects which ui component should be visible in app, allowing the brand to have customized graphics for its catalogs and change it also according to annual events (e.g., holydays).

Note: This collection is not completed yet. It will be expanded in future developments.

Document schema​

{
"description": "string",
"name": "string",
"skin_preview": "string"
}

Indexes​

This collection does not have external indexes.

Query examples​

// Fetch the ARshades_skins Reference Doc from Firebase
const skinRefDoc = doc(db, "ARshades_skins", skinID);

// Get the Document Snapshot from the ARshades_skins Reference Doc
const skinRefSnap = await getDoc(skinRefDoc);