Globals / Platform
Interface: Platform
Hierarchy
- Platform
Implemented by
Index
Methods
Methods
getPlatform
▸ getPlatform(): string
Defined in js-miniapp-sdk/src/miniapp.ts:110
Detect which platform your mini app is running on.
Returns: string
Android
, iOS
, or Unknown