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

Updated the plugin to work with SceneView 2.2.1 #14

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dev-gvam
Copy link

Hi, I've been working all this week on updating this plugin.

I've updated the Flutter dependencies, as well as the code formatting and fixed issues related to the Flutter linter.

I've updated Gradle to version 8 and added prog-guard so it compiles correctly when activating ArCore services.

I've also implemented the event channel so anyone who wants to use this plugin can create a branch and add the events they need. I've also optimized the method channel for easy use from the controller.

I hope you like these changes and will take the time to review them.

Things I haven't been able to get working correctly:

  • When running Flutter's hot-reload, the plugin doesn't work properly and the app closes, but if you launch it without hot-reload, it works correctly.

  • When creating a view in Flutter with only the SceneView, closing this view would crash the app. #408 I solved this by waiting for the SceneView controller to dispose completely and encapsulating the view with a PopScope. It's the only way I've found to prevent the app from closing unexpectedly.

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.

2 participants