-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error - Can't sync my localDB with a couch DB in my RN project #104
Comments
I had this exact issue this week. I got closer by importing pouchdb-authentication https://github.com/pouchdb-community/pouchdb-authentication It successfully connects and I can dump the remote docs to the console, but I can't get a local db in my RN app to sync with the remote db, it red-screens. I submitted an issue here ( pouchdb-community/pouchdb-authentication#241 ) I'll keep you posted if I figure it out and if you get it to work, please let me know too, I'd appreciate it. |
it work now, the problem was : i didn't have a REAL SSL Certificate for my https. |
Are you still using your server's IP address in the RN code in the sync command, or did you change it to the domain name in your cert? BTW, curious, who did you use for your new SSL cert? and are you using pouchdb-react-native ? Sorry for all the questions |
i change it to my domain name with https |
So it's the problem solved? |
Im trying to test with local host using http, Do I have to use https? |
Issue
I tried to sync my localDB with a couch DB which is installed into my computer and it work perfectly.
Now i want to do it with a couch DB which is installed into a server.
so i use this code :
THIS CODE WORK PERFECTLY WHEN I USE IT INTO WEB PROJECT IN INDEX.HTML
but if i use it in my react-native project i have this issue in JS debugger :
Info
Reproduce
The text was updated successfully, but these errors were encountered: