quicui_linker 1.0.0
quicui_linker: ^1.0.0 copied to clipboard
Differential AOT linker for QuicUI code push patches. Links compiled patches with runtime environment.
QuicUI Linker #
A differential AOT linker for QuicUI code push patches.
Overview #
quicui_linker is a core component of the QuicUI code push ecosystem. It links compiled patch artifacts with the runtime environment, resolving symbols and generating the final executable patch format.
Features #
- Differential Linking: Links only changed code, minimizing patch size
- Symbol Resolution: Resolves references between patched and original code
- AOT Integration: Works with Dart's ahead-of-time compilation
- Platform Support: Generates patches for iOS and Android
Installation #
dependencies:
quicui_linker: ^1.0.0
Usage #
This package is primarily used internally by the QuicUI CLI. For most use cases, use the CLI instead:
dart pub global activate quicui_cli
quicui patch
Programmatic Usage #
import 'package:quicui_linker/quicui_linker.dart';
// Link compiled patches
final linker = QuicuiLinker();
final result = await linker.link(
patchArtifacts: 'build/patches/',
outputFile: 'output/patch.quicui',
);
Architecture #
The linker operates in several stages:
- Load Phase: Loads compiled patch artifacts
- Resolution Phase: Resolves symbol references
- Relocation Phase: Adjusts addresses for target platform
- Output Phase: Generates final patch binary
Related Packages #
- quicui_cli - Command-line interface
- quicui_compiler - Compiles patches
- quicui_code_push_client - Flutter client SDK
Contributing #
Contributions are welcome! Please see our Contributing Guide.
License #
MIT License - see LICENSE for details.