# =============================================================================
# RunAnywhere Flutter SDK - Git Ignore
# =============================================================================
# This file ignores native binaries that are downloaded/built locally.
# These binaries should NOT be committed - they are fetched automatically
# during build or downloaded from GitHub releases.
# =============================================================================

# =============================================================================
# Native Binaries - iOS XCFrameworks
# Downloaded from GitHub releases or copied from runanywhere-commons builds
# =============================================================================
packages/*/ios/Frameworks/*.xcframework/
packages/*/ios/Frameworks/*.xcframework.zip
# Current package-owned CocoaPods/SwiftPM layout. These frameworks (including
# their generated Headers trees) are staged only for local consumer validation;
# published packages use the pinned remote-download/checksum contract.
packages/*/ios/*/Frameworks/

# MLX resource bundles/notices are generated from the checksum-pinned CocoaPods
# payload. The package-specific .pubignore also keeps them out of pub.dev.
packages/runanywhere_mlx/ios/runanywhere_mlx/Resources/
packages/runanywhere_mlx/ios/runanywhere_mlx/ThirdPartyNotices/

# =============================================================================
# Native Binaries - Android JNI Libraries
# Downloaded from GitHub releases or copied from runanywhere-commons builds
# =============================================================================
packages/*/android/src/main/jniLibs/arm64-v8a/
packages/*/android/src/main/jniLibs/armeabi-v7a/
packages/*/android/src/main/jniLibs/x86/
packages/*/android/src/main/jniLibs/x86_64/
packages/*/android/src/main/jniLibs/include/

# =============================================================================
# Local Mode Markers
# Created by build-flutter.sh to indicate local binary usage
# =============================================================================
packages/*/ios/.testlocal
packages/*/android/.testlocal

# =============================================================================
# Version Files
# Created by build scripts/podspecs to track downloaded versions
# =============================================================================
packages/*/ios/Frameworks/.*_version
packages/*/ios/Frameworks/.racommons_version
packages/*/ios/Frameworks/.llamacpp_version
packages/*/ios/Frameworks/.onnx_version

# =============================================================================
# Downloaded Headers (ONNX Runtime)
# These come with the onnxruntime.xcframework
# =============================================================================
packages/*/ios/Frameworks/Headers/
packages/*/ios/Frameworks/LICENSE

# =============================================================================
# Build artifacts
# =============================================================================
packages/*/android/build/
packages/*/ios/build/
packages/*/ios/*/.build/
packages/*/.dart_tool/
packages/*/build/

# =============================================================================
# IDE and editor files
# =============================================================================
.idea/
*.iml
.vscode/
*.swp
*.swo
*~

# =============================================================================
# Flutter/Dart
# =============================================================================
.dart_tool/
.packages
.flutter-plugins
.flutter-plugins-dependencies
pubspec.lock

# Local-dev pub overrides (should not be committed; they point to in-repo
# sibling packages so `dart pub get` resolves to the current working copy
# rather than the published version on pub.dev).
packages/*/pubspec_overrides.yaml

# =============================================================================
# macOS
# =============================================================================
.DS_Store

# =============================================================================
# FVM (Flutter Version Manager) - locally-managed SDK cache
# Only fvm_config.json (the version pin) should be committed; never the cache.
# =============================================================================
.fvm/flutter_sdk
.fvm/versions/
.fvm/release
.fvm/version
