Skip to content

Implement all available mini app features #1

Description

@evermake

We must support all features available to a Mini App, providing convenient API to access them.

Available Features

Core

  • Reading launch parameters: init data, theme parameters, version, and platform.
  • Communication bridge between mini app and client: emitting and listening to events.

General

  • Sending "ready" status.
  • Expanding mini app.
  • Closing mini app.

UX/UI

  • Accessing app theme colors and color scheme.
  • Controlling viewport: height, stable height, safe area inset, content safe area inset,
  • Tracking whether mini app is active or minimized.
  • Tracking whether mini app is expanded or occupies only part of the screen.
  • Controlling header, background, and bottom bar colors.
  • Controlling closing confirmation.
  • Controlling vertical swipes.
  • Controlling fullscreen mode.
  • Controlling orientation locking.
  • Controlling back button.
  • Controlling settings button.
  • Controlling main button.
  • Controlling secondary button.
  • Controlling native popup.
  • Controlling QR-scanner.

Device / OS

  • Controlling haptic feedback.
  • Controlling device biometrics.
  • Controlling device location.
  • Accessing device accelerometer.
  • Accessing device orientation.
  • Accessing device gyroscope.
  • Controlling home screen shortcut.
  • Downloading a file.
  • Hiding virtual keyboard.
  • Reading text from clipboard.

Telegram

  • Sending data to the bot from keyboard button mini app.
  • Switching to inline query.
  • Opening Telegram links.
  • Opening external links.
  • Opening invoice.
  • Sharing to story.
  • Sharing a message.
  • Prompting to set emoji status.
  • Controlling emoji status programmatically.
  • Requesting write access.
  • Requesting contact.

Storage

  • Controlling cloud storage.
  • Controlling device storage.
  • Controlling secure storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions