mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-21 20:29:58 -05:00
8 lines
196 B
TypeScript
8 lines
196 B
TypeScript
export function isAndroidWebView() {
|
|
try {
|
|
// Detect if Android bridge exists
|
|
return typeof (window as any).AndroidBridge?.isNativeApp === 'function';
|
|
} catch {
|
|
return false;
|
|
}
|
|
} |