Cannot read property 'isARSupportedOnDevice' of null on RN version 0.72.6 in android device
ankittrootech123 opened this issue · 3 comments
ankittrootech123 commented
Description
I tried to run this library on RN version 0.72.6 and faced this issue in android devices but working on ios device. can you please help with the solution?
also i downgraded the react native version to 0.71.3 but still getting this type of error.. please guide me how can I solve this issue
hadnet commented
@ankittrootech123 sorry bother you, but did you resolve this issue?
ankittrootech123 commented
No, not yet.
*Thanks & regards,*
*Ankit Limbad*
*React-Native Developer*
*TRooTech Business Solutions Pvt. Ltd.*
*https://www.trootech.com* <https://www.trootech.com/>
…On Thu, 18 Jan 2024 at 04:49, hadnet ***@***.***> wrote:
@ankittrootech123 <https://github.com/ankittrootech123> sorry bother you,
but did you resolve this issue?
—
Reply to this email directly, view it on GitHub
<#233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCU4JWT6X7BJAAB74TQZMRLYPBMAZAVCNFSM6AAAAAA6VRVOLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJXGM4TMOJRG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
Wildanzr commented
it seems okay on RN: 0.72.6 with viro: ^2.40.1
Make sure to import it correctly
import { isARSupportedOnDevice } from "@viro-community/react-viro";
As per Viro docs (IsARSupportedOnDevice) the example code snippet should be updated.