Skip to content

platformCanOpenData

platformCanOpenData(): boolean

Defined in: platform/base.ts:384

Whether this platform has a USABLE open data context — what a leaderboard reads to hide itself honestly (web, native and the editor have none).

Method presence is not the answer here, the way it is for share: the mini-game family is ONE adapter, so every vendor defines these, and a game whose package declares no context directory has none even on a host that supports them. So the honest probe is the same one the ad path uses — ask for the thing and treat null as “not here”.

boolean