Skip to content

Conversation

@vlad0209
Copy link

@vlad0209 vlad0209 commented Feb 3, 2025

Overview

This pull request brings changes and updates to the ar_flutter_plugin. It focuses on turning on ARCore geospatial mode and updating dependencies for smoother operation.

Main Updates

✅ Geospatial Mode Support:

  • Turns on ARCore's geospatial mode. This gives access to geospatial pose data (latitude, longitude, altitude, and heading).
  • Adds ways to handle geospatial data in both Android (AndroidARView.kt) and iOS (IosARView.swift).
  • Tweaks ar_session_manager.dart to handle geospatial tracking and offer real-time AR experiences based on location.

✅ Updated Dependencies:

  • Swaps ARCore pod dependencies for ARCoreNanoPbUpdated to boost compatibility and fix potential problems.
  • Changes pubspec.yaml version from 0.7.3 to 0.7.4 to show these upgrades.

Why These Changes?

  • Making Geospatial AR Experiences Possible: This update lets developers create apps that put AR elements on top of real-world places.
  • Smarter Handling of Dependencies: Moving to ARCoreNanoPbUpdated helps keep iOS builds compatible with the latest versions of the FlutterFire packages.

@hlefe
Copy link

hlefe commented Feb 8, 2025

Hello @HaywhyD,
Unfortunately, Carius Lars has not been active at all since 2022.
I am the one who created ARCoreNanoPbUpdated due to the conflict with Firebase for hosting cloud anchors.
(I hope ARCore will fix this conflict in its next version.)
I also developed a new version of the plugin that integrates this fix and uses SceneView for Android instead of Sceneform (allowing the use of animated 3D models).

➡️ Feel free to contribute as well :
https://github.com/hlefe/ar_flutter_plugin_2

Hugo

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