Open eqlion opened 3 years ago
Having the same issue... any solutions ?
@RocKer004 unfortunately, no luck yet. However, in the original issue, there seems to be a solution, which involves commenting out braintree and stripe parts — https://github.com/naoufal/react-native-payments/issues/276#issuecomment-805634483
fix: Bump react-native-payments
in package.json to 0.8.2
See below for explanation.
In react-native-payments.podspec
you'll see that the summary is mapped to the description
field in package.json
pkg = JSON.parse(File.read("package.json")) <-- source
Pod::Spec.new do |s|
s.name = pkg["name"]
s.version = pkg["version"]
s.summary = pkg["description"] <--- here
However there is no description
field in package.json
, resulting in this issue.
Just add a description
field to the package.json
in node_modules/react-native-payments
and use a package like patch package to persist the changes
I wanted to try this example, as I cannot make the library work in my project (see https://github.com/naoufal/react-native-payments/issues/276). Following the steps, I get the error while trying to install Pods: