Skip to content

Feat: iOS、andriod、flutter、wasm binding && demo#6

Merged
erweixin merged 23 commits intomainfrom
feat-binding
Mar 19, 2026
Merged

Feat: iOS、andriod、flutter、wasm binding && demo#6
erweixin merged 23 commits intomainfrom
feat-binding

Conversation

@erweixin
Copy link
Copy Markdown
Owner

No description provided.

erweixin added 13 commits March 16, 2026 16:00
- Introduced Android JNI bridge for native LaTeX rendering using Kotlin and Android Canvas.
- Added Flutter bindings for RaTeX, enabling LaTeX rendering via Dart FFI.
- Implemented custom views and rendering logic for both platforms.
- Updated documentation to include integration guides for Android and Flutter.
- Enhanced the build scripts for Android to support multiple architectures.
- Added a Swift package for RaTeX, including a public header and module map for C ABI integration.
- Implemented a Swift wrapper around the C API for LaTeX parsing and rendering.
- Introduced a comprehensive testing suite for the Swift package, validating LaTeX rendering and error handling.
- Updated the iOS build script to include module map generation for XCFrameworks.
- Enhanced the display list and path command handling in Swift to support internally tagged JSON formats.
- Added a Swift Package for RaTeX, enabling easier integration with iOS projects.
- Implemented a GitHub Actions workflow for automated iOS releases, including XCFramework packaging and version tagging.
- Updated documentation to reflect new font loading methods and integration steps for Swift Package Manager.
- Removed the old Package.swift file and adjusted paths in the demo to align with the new structure.
- Created a new Flutter demo project showcasing native LaTeX math rendering.
- Added essential configuration files including pubspec.yaml, analysis_options.yaml, and .gitignore for Flutter.
- Implemented iOS-specific files and configurations, including AppDelegate, SceneDelegate, and Info.plist.
- Included necessary assets and launch images for the application.
- Established a structured directory for iOS and Flutter integration, enhancing project organization.
…nd documentation

- Changed group ID from io.ratex to io.github.erweixin in build.gradle.kts files for consistency.
- Updated README files to reflect the new Maven dependency format using the updated group ID.
- Introduced a complete Android project structure for the RaTeX Flutter plugin, including build configurations, manifest files, and resource assets.
- Implemented necessary Gradle files for building the Android library and managing dependencies.
- Added native library support via Dart FFI, allowing seamless integration of LaTeX rendering capabilities.
- Updated documentation to guide users on installation and publishing processes for the plugin.
…nd integration

- Renamed the iOS source path from `RaTeX` to `Ratex` for consistency.
- Enhanced README files for both iOS and Android to clarify font loading processes and integration steps.
- Added a new Chinese README for iOS and Android, providing localized guidance.
- Updated Android build configurations to streamline publishing to Maven Central.
- Improved demo project instructions for both platforms to ensure a smoother user experience.
erweixin added 10 commits March 18, 2026 10:05
- Added a new field for placeholder bounding-box paths in the DisplayItem enum, which is skipped during serialization to optimize JSON payload size.
- Updated the Android and iOS font loader implementations to ensure thread-safe loading and preloading of fonts, improving performance and reliability.
- Adjusted the handling of commands in the DisplayItem class across platforms to ensure compatibility with the new serialization logic.
@erweixin erweixin merged commit f1d074c into main Mar 19, 2026
1 check passed
@erweixin erweixin deleted the feat-binding branch March 20, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant