MoralisWeb3 / react-moralis

Hooks and components to use Moralis in a React app
MIT License
624 stars 166 forks source link

Error of react-moralis in ReactNative 0.66.3? #94

Closed nyousaf47 closed 2 years ago

nyousaf47 commented 2 years ago

New Bug Report

Checklist

Issue Description

I am getting this error on latest ReactNative version. TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[0], "../../../react-native/Libraries/vendor/emitter/EventEmitter")

Steps + code to reproduce

Just create a new Project using cli commands Install react-moralis Run the app, you will get above error.

Actual Outcome

It gives error of EventEmitter file.

saricden commented 2 years ago

Same issue as: https://github.com/MoralisWeb3/react-moralis/issues/112 I'm pretty sure.

ErnoW commented 2 years ago

Closing this issue as it is rather an implementation issue. The recommended way to use react-native is to use https://github.com/ethereum-boilerplate/ethereum-react-native-boilerplate

Any questions or support can be asked in the forum as we are more active there with support and developers :)

bill-pairaktaridis commented 2 years ago

@ErnoW if that's the case, what's the point of this? https://github.com/MoralisWeb3/react-moralis#%EF%B8%8F-react-native