Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ isPlayStoreInstall
Function
isPlayStoreInstall
src/utils/installSource.js:3–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
export
const
INSTALL_SOURCE_PLAY =
"com.android.vending"
;
2
3
export
function
isPlayStoreInstall() {
4
return
window.appInstallSource === INSTALL_SOURCE_PLAY;
5
}
Callers
4
onDeviceReady
Function · 0.90
promptUpdateCheckConsent
Function · 0.90
shouldAllowExternalPurchase
Function · 0.90
otherSettings
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected