naoufal/react-native-payments

Require cycle error

designervoid opened this issue · 2 comments

when i installed this package i got warning error from LogBox (in debug mode), like that:
image
because of this line:
image

Thanks @designervoid , this looks like an antipattern and should be fixed. I need to figure out what target is used for (I joined the maintain team only 6 months ago)

I also have this problem, but for Android, I think I have done everything needed to install on Android (btw I'm locked to version 0.7.1)
What I did to install: yarn install the library, react-native link the library, add payments on AndroidManifest.

If there is some extra step needed it was not clear to me, can anyone suggest something?