Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roy3838/Observer
/ isAndroid
Function
isAndroid
app/src/utils/platform.ts:50–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
* Check
if
the app is running on Android
49
*/
50
export
const
isAndroid = (): boolean => {
51
if
(!isTauri())
return
false;
52
return
getPlatform() ===
'android'
;
53
};
54
55
/**
56
* Check
if
the app is running in a web browser (not Tauri)
Callers
1
App.tsx
File · 0.90
Calls
1
isTauri
Function · 0.85
Tested by
no test coverage detected