Feat: iOS、andriod、flutter、wasm binding && demo#6
Merged
Conversation
- 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.
…xclude duplicates
- 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.
- 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.
…better understanding of pixel vs dp usage
… (dp) across Android components
…clarity on formula coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.