To use hosted login on Android, add both activity entries to the manifest with the enabled flags flipped and tools replace set, otherwise the SDK keeps using the embedded WebView. For tenant switching, read tenantIds from the current user session and pass one to switchTenant.

Context: Official docs (Frontegg Android usage): documents a gotcha that trips agents switching the Android SDK to hosted login. Chrome Custom Tabs hosted auth only takes effect if you disable the EmbeddedAuthActivity and enable the HostedAuthActivity in AndroidManifest.xml with tools replace on the enabled attribute. The same page documents switchTenant for multi-tenant users: pass a tenant ID taken from the session user's tenantIds list, not a tenant name or slug.

## Matched source
Source: Published skill
Original query: "Frontegg Android hosted login needs manifest activity toggles"
Key terms: activity, android, frontegg, hosted, login, manifest, needs, toggles
