Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android project with unity configured for the latest flutter version (3.22.2) #968

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swayamshreemohanty
Copy link

Description

This pull request updates the Android project configuration to integrate Unity for compatibility with the latest Flutter version (3.22.2). It includes necessary adjustments and dependencies to ensure seamless interaction between Flutter and Unity components on Android.

Key updates include:

  • Unity Integration: Updated Unity version and configurations to align with Flutter 3.22.2 and latest gradle requirements.
  • Android Setup: Ensured compatibility and smooth functionality between Flutter UI and Unity scenes.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • [x ] 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@timbotimbo
Copy link
Collaborator

timbotimbo commented Jul 4, 2024

Just some notes:

  • I feel like the Flutter android/gradle setup update is too soon.
    The current setup builds on multiple Flutter versions, including 3.22.

    Due to various Flutter Android bugs it is important to be able to switch to older versions than 3.22 and compare functionality.
    For example some apps still needs 3.13.9 to build on Android, as all later Flutter verions include app breaking bugs.

    • 3.16 & 3.19 make unity invisible on older androids,
    • 3.19 breaks resizing/transition on newer androids,
    • 3.22 breaks AR on older androids
  • I see new personal files like com/example/swayam_ar/MainActivity.kt included.

  • The build.cs Unity script has quite a few changes reverted from master.

  • Upgrading the Unity version tot 2022 is fine, but I haven't done that yet to avoid even larger merge conflicts with this eternal PR by the plugin creator.

Splitting both the Unity & Flutter upgrades into separate commits would also make viewing the changes easier.

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.

3 participants