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

Support for ARKit and ARCore on .Net MAUI #16623

Closed
bonniemathew opened this issue Aug 9, 2023 · 7 comments
Closed

Support for ARKit and ARCore on .Net MAUI #16623

bonniemathew opened this issue Aug 9, 2023 · 7 comments
Labels
area-core-platform Integration with platforms proposal/open

Comments

@bonniemathew
Copy link

Description

I would love to have ARKit and ARCore APIs on .Net MAUI. This was supported on Xamarin. Our framework is built on Xamarin and we were thinking of porting it to .Net MAUI and the lack of AR APIs is blocker for us.

Public API Changes

Support for all the ARKit and ARCore features.

Intended Use-Case

Our framework is built on Xamarin and we were thinking of porting it to .Net MAUI and the lack of AR APIs is blocker for us.

@drasticactions
Copy link
Contributor

drasticactions commented Aug 9, 2023

The APIs you're talking about are SDK-specific. This repo is for the MAUI UI project, so requests for binding of APIs should go to the SDK projects instead (xamarin-android and xamarin-macios)

That said, ARKit is still bound in the .NET iOS/Mac SDK. AFAIK it should function the same as before, there were no breaking changes between the older and newer tooling (CC @rolfbjarne if I'm wrong on that)

For ARCore, that was a Xamarin Component project. It hasn't been touched in a few years from the looks of it, and I'm not sure if it was replaced or not, or if there was any timeline on what's going on with those. @Redth would you know?

In both cases, it has no relation to the MAUI UI project. These would need to be bound outside of this repo.

@rolfbjarne
Copy link
Member

That said, ARKit is still bound in the .NET iOS/Mac SDK. AFAIK it should function the same as before, there were no breaking changes between the older and newer tooling (CC @rolfbjarne if I'm wrong on that)

There may have been minor breaking changes in specific APIs (no feature removal, but we fixed numerous typos and broken bindings all over the place, so existing code might need a few touchups), but ARKit as a whole is present in .NET, just as it was in Xamarin.

@Eilon Eilon added the area-core-platform Integration with platforms label Aug 9, 2023
@PureWeen PureWeen closed this as completed Aug 9, 2023
@drasticactions
Copy link
Contributor

@PureWeen I agree that this issue should be closed, but do we know the answer for ARCore? @jonathanpeppers @Redth?

@Redth
Copy link
Member

Redth commented Aug 10, 2023

@moljac can you help answer about ARCore bindings?

@moljac
Copy link
Contributor

moljac commented Aug 10, 2023

ARCore bindings are in XamarinComponents repo:

https://github.com/xamarin/XamarinComponents/tree/main/Android/ARCore

and the latest version released by Microsoft/Xamarin was 1.29

https://www.nuget.org/packages/Xamarin.Google.ARCore
https://www.nuget.org/packages/Xamarin.Google.ARCore/1.29.0

Google documentation for ARCore:

https://developers.google.com/ar
https://github.com/google-ar/arcore-android-sdk

ARCore was used by SceneForm and update requests came mostly in conjunction with SceneForm SDK:

https://github.com/xamarin/XamarinComponents/tree/main/Android/SceneForm
https://www.nuget.org/packages?q=Xamarin.Android.SceneForm&prerel=true&sortby=relevance
https://www.nuget.org/packages/Xamarin.Android.SceneForm.Core

Google documentation for SceneForm:

https://developers.google.com/sceneform/develop
https://github.com/google-ar/sceneform-android-sdk

Since SceneForm was deprecated, open sourced, archived, the roadmap was unclear and we did not manage to bind alternatives like:

the decision was to stop maintaining both ARCore and SceneForm.

@bonniemathew
Copy link
Author

bonniemathew commented Aug 16, 2023

Thank you all for the answers. I figured out that my .Net MAUI project setup was wrong and I have fixed it. Now its recognising the ARKit and ARCore packages in the .Net MAUI project.

@monkeyK1n9
Copy link

@bonniemathew please can you tell me how you integrate arkit and arcore in .net maui? do you have a repo I can look to learn from it. I am working on a similar project and I really need your help.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-core-platform Integration with platforms proposal/open
Projects
None yet
Development

No branches or pull requests

8 participants