For the complete documentation index, see llms.txt. This page is also available as Markdown.

isMinVersionSupported

Functional API isMinVersionSupportedYou can use the same feature with it as well.

Feature description

Checks whether the current Toss app version is at or above the minimum supported version for each platform. Compares based on the version corresponding to the current platform (Android/iOS).

  • 'always'If specified, always on that platform trueis returned.

  • 'never'If specified, always on that platform falseis returned.

  • In the sandbox environment, always regardless of version trueis returned.

Type

isMinVersionSupported(minVersions): boolean;

Params

{
  android: `${number}.${number}.${number}` | "always" | "never";
  ios: `${number}.${number}.${number}` | "always" | "never";
}

Response

boolean.

Example code

Was this helpful?