ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.3k stars 150 forks source link

Works with EAS build ? #239

Closed LouisSyfer closed 6 months ago

LouisSyfer commented 7 months ago

Hi the viro community.

I would like to know please if the package is compatible with eas? I tried to do a development build but I always get the same error: "package com.viromedia.bridge does not exist" I have attached a very explicit screenshot. All my packages are up to date. The react native version I am using is: 0.72.6

thank you for your explanations build failed with viro integration

psanchezUndanet commented 6 months ago

Hi @LouisSyfer

I'm using this package with react native version 0.71.14 (expo sdk 48) without a issue. To make it work, I followed this: https://github.com/ViroCommunity/viro/issues/218#issuecomment-1632408994

In my project I only use the AR component, so I only added packages.add(new ReactViroPackage(ReactViroPackage.ViroPlatform.valueOf("AR"))); to the MainApplication (i didn't add the "GVR" and "OVR_MOBILE" as I didn't need them.

I hope this helps. Please let me know if it work (or didn't), to know what to expect when I upgrade to Expo sdk 49, as it will update the react native version.

LouisSyfer commented 6 months ago

Hi @psanchezUndanet

Thanks for your reply.

Ok I will have a look later. Otherwise I think I may have another solution.

Haseebshah936 commented 6 months ago

@LouisSyfer can you tell me that if it worked and can you mention the other solution as well thanks

LouisSyfer commented 6 months ago

@Haseebshah936 I didn't have the time to try ! But I will let you know if I do it ASAP

Haseebshah936 commented 6 months ago

@LouisSyfer thanks bud.

LouisSyfer commented 5 months ago

@Haseebshah936 I tried the solution above. You can build a dev app. But it's not possible to use Viro. I get another error and I don't have a workaround. Please check the screenshot. react-viro-error