A cross-platform C++ library providing unified access to native system APIs.
- CMake 3.10 or later
- C++17 compatible compiler:
- Windows: Visual Studio 2017 or later / MinGW-w64
- macOS: Xcode 9.0 or later (Clang)
- Linux: GCC 7.0+ or Clang 5.0+
- GTK 3.0 development headers
# Ubuntu/Debian
sudo apt-get install libgtk-3-dev
# CentOS/RHEL/Fedora
sudo yum install gtk3-devel
# or
sudo dnf install gtk3-devel
- Cocoa framework (included with Xcode)
- Windows SDK
# Clone the repository
git clone https://github.com/leanflutter/libnativeapi.git
cd libnativeapi
# Create build directory
mkdir build
cd build
# Configure and build
cmake ..
cmake --build . --config Release
Currently available language bindings for libnativeapi:
- nativeapi-flutter - Flutter bindings
- nativeapi-swift - Swift bindings
These bindings provide native system API access while preserving the library's core functionality.