google-ar / arcore-unity-extensions

Google ARCore Extensions and Geospatial Creator for Unity's AR Foundation
Other
354 stars 96 forks source link

Is Firebase integration with Geospatial Creator in Unity actually possible? #179

Open Akash-Elnoorkar opened 8 months ago

Akash-Elnoorkar commented 8 months ago

Hello,

I am trying to integrate firebase into my project which is having Geospatial Creator present in it. But it always shows these errors whenever I try to build the APK. I have done debugging and testing on it as well. I first tried importing Firebase into an empty project by only enabling Firebase Analytics and the APK got built successfully. Then, I tried importing Geospatial Creator to this project and it gave me the errors present. Also, tried the vice-versa procedure and still throwed the same erorrs.

Any information on this would be very helpful and useful. Thanks.

Screenshot (81) Screenshot (82) Screenshot (83) Screenshot (84) Screenshot (85) Screenshot (86) Screenshot (87) Screenshot (88) Screenshot (89) Screenshot (90)

devbridie commented 8 months ago

Does this work for you? Gradle Build fails [Android] 'META-INF/kotlinx-coroutines-core.kotlin_module' You'll probably need a gradle template to fix that.

I'm seeing that error message in your fourth screenshot.

Akash-Elnoorkar commented 8 months ago

Nope, this doesn't work. I am actually shocked to see this. I really can't understand why firebase and geospatial can't work together, I guess I have to develop my own REST API for this.

burakcetn commented 4 months ago

You should use the Without EDM4U version of Arcore Extension. https://developers.google.com/ar/develop/unity-arf/getting-started-extensions#without-edm4u-compatibility As it said When using other libraries (for example, Firebase Analytics) that depend on a different version of External Dependency Manager for Unity, undefined behavior may occur, causing dependents to stop working correctly.