MCPcopy Create free account
hub / github.com/ReactVision/viro / ViroConfigurationOptions

Interface ViroConfigurationOptions

plugins/withViro.ts:36–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 * Options interface for configuring expo plugin
35 */
36export interface ViroConfigurationOptions {
37 /**
38 * iOS framework linkage type.
39 * When set to "dynamic", uses dynamic frameworks which is required for ARCore SDK.
40 * When set to "static", uses static frameworks for smaller binary size.
41 *
42 * Note: If using provider: "arcore", this will be automatically set to "dynamic".
43 *
44 * DEFAULTS TO: undefined (uses project default, typically static)
45 */
46 iosLinkage?: IosLinkage;
47
48 /**
49 * Google Cloud API key for ARCore Cloud Anchors and Geospatial API.
50 * Required if using provider: "arcore".
51 *
52 * Get your API key from Google Cloud Console:
53 * https://console.cloud.google.com/apis/credentials
54 *
55 * Make sure to enable the ARCore API for your project.
56 */
57 googleCloudApiKey?: string;
58
59 /**
60 * ReactVision API key for ReactVision Cloud Anchors and Geospatial API.
61 * Required if using provider: "reactvision" (the default).
62 *
63 * Written to AndroidManifest as com.reactvision.RVApiKey and to Info.plist as RVApiKey.
64 */
65 rvApiKey?: string;
66
67 /**
68 * ReactVision Project ID for ReactVision Cloud Anchors and Geospatial API.
69 * Required if using provider: "reactvision" (the default).
70 *
71 * Written to AndroidManifest as com.reactvision.RVProjectId and to Info.plist as RVProjectId.
72 */
73 rvProjectId?: string;
74
75 /**
76 * Override the ReactVision platform base URL.
77 * Omit for production. Set to a staging URL for testing.
78 *
79 * Written to AndroidManifest as com.reactvision.RVEndpoint and to Info.plist as RVEndpoint.
80 */
81 rvEndpoint?: string;
82
83 /**
84 * Anchor provider for both cloud anchors and geospatial anchors.
85 * Replaces the deprecated cloudAnchorProvider + geospatialAnchorProvider props.
86 *
87 * - "reactvision": Use ReactVision backend (requires rvApiKey + rvProjectId)
88 * - "arcore": Use ARCore Cloud Anchors / Geospatial API (requires googleCloudApiKey)
89 * - "none": Disable both
90 *
91 * DEFAULTS TO: "reactvision"
92 */
93 provider?: Provider;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected