ethereum-boilerplate/ethereum-react-native-boilerplate

React native build fails

codewithpom opened this issue · 11 comments

Hey good morning so when I convet the app to apk version and try on my phone it shows that react native moralis dapp keeps stopping.
Please tell me how to solve as it is urgent and we need to add some features to it and then submit to a hackathon named BUILDIT.

Please try the IOS version as that is stable. Android seems to have some issues with builds right now. We are investigating it.

Please try the android version now

Screenshot_20211125-192641_moralis-create-react-native-dapp
I am getting this now on auth button click.

@abdulmalik97 still it is not working @nyousaf47 problemis happening even at my side

I have encountered the same problem, Please fix this i need it soon, Thanks @abdulmalik97

@nyousaf47 Did you properly enter your Moralis details in the env file. This is an error that occurs when Moralis is not properly initialised.

@abdulmalik97 Yes I added my API Key and URL in .env file.
Same details working fine on web Project.

@abdulmalik97, actually the problem is that the MetaMask app is not opening at all (on android phone), when the button clicked first time nothing happens, but the latter time the error shows up.

Hi @abdulmalik97 would it work only on Cli as I configured in my project and When I Try to run it throws an error in ParseQuery.js says undefined AddListener .Here is my moralis forum question link

https://forum.moralis.io/t/ethereum-react-native-boilerplate-questions/4511/107?u=zadu