-
public class EmilyChatEnvironmentThe Emily widget bundle that the embedded android.webkit.WebView should load.
In practice the SDK loads a small HTML container (
mobile-v<major>.html) that bootsemily-v<major>.jsand bridges native ↔ web. The container is versioned by the web SDK'sMAJORso a host app pinned to v1 keeps working across non-breaking widget releases.Use Custom for staging branches, on-prem deployments, or pointing at a locally served
vite previewbuild during development (note: cleartexthttp://10.0.2.2:5174/...requires a network-security-config opt-in in the host app, see the README).Kept as a sealed class (rather than an enum) so Custom can carry a URL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEmilyChatEnvironment.ProductionProduction CDN.
public classEmilyChatEnvironment.StagingStaging / QA CDN.
public final classEmilyChatEnvironment.CustomCustom URL pointing at a fully built
mobile-v<n>.html(or the unversionedmobile.htmlused for staging dev iteration).
-