js-miniapp-sdk

Globals / Platform

Interface: Platform

Hierarchy

Implemented by

Index

Methods

Methods

getPlatform

getPlatform(): string

Defined in js-miniapp-sdk/src/miniapp.ts:117

Detect which platform your mini app is running on.

Returns: string

Android, iOS, or Unknown