0
votes

I am faced of a little problem, I want to use sqlite with react native, I have already followed tutorial but none of them operate. For exemple for this tuto: https://github.com/andpor/react-native-sqlite-storage When I have to add the code below to the Podfile: pod 'React', :path => '../node_modules/react-native' pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage'

And I go to ios file, then I do pud update,I have this: enter image description here

Then I continue to follow the tutorial: I don't have this: enter image description here

But this: enter image description here

So I need help for these problems. Thank you for your help.

1

1 Answers

0
votes

You have duplicate react dependencies in the podfile. Remove this line:

pod 'React', :path => '../node_modules/react-native/'

Then try again with pod update.