harmony_plugin

A new Flutter plugin for developers to check whether the device is a HarmonyOS

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Features

  1. Future<bool> isHarmonyOS();
  2. Future<String> getHarmonyVersion();
  3. Future<bool> isHarmonyPureMode();