-
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
FYI: there is working alternative already #121
Comments
The above link is perfect. I ended up coming to almost the exact same conclusion as @craftzdog and have been using PouchDB with RN successfully this way. The only issue I'm encountering is the database not getting fully destroyed by the time In addition to his article, you can read more about the performance issues with pouchdb-react-native here: #118 |
@cjroth How do you deal with .destroy issue? |
@greenais I haven't really found a good solution yet. I use Oddly I had the same issue with the AsyncStorage adapter for pouch too. Maybe it's coincidence or maybe it's a PouchDB-core issue. |
@cjroth Did you try to deploy PDB on 64-bit android real device? Unexpectedly (on the edge of release, gosh) I bumped into the fact that in debug mode it works (on device), but once assebled in release apk PDB stops replication with totally uninformative error like:
The same code on same device, how it could be possible? |
Nope I haven't gotten a chance to try it on Android yet.
On Sat, Oct 19, 2019 at 10:44 Alexander ***@***.***> wrote:
@cjroth <https://github.com/cjroth> Did you try to deploy PDB on 64-bit
android real device? Unexpectedly (on the edge of release, gosh) I bumped
into the fact that in debug mode it works (on device), but once assebled in
release apk PDB stops replication with totally uninformative error like:
' !!! PDB _pullDocs ERR: ', { [Error]
line: 132,
column: 7285,
sourceURL: 'index.android.bundle',
result:
{ ok: false,
start_time: '2019-10-19T10:35:28.640Z',
docs_read: 0,
docs_written: 0,
doc_write_failures: 0,
errors: [],
status: 'aborting',
end_time: '2019-10-19T10:35:28.657Z',
last_seq: 0 } }
The same code on same device, how it could be possible?
32-bit version works with no issues though.
Almost smashed my head in the wall googling, trying, failing..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#121>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEOD4WWEXF66AYGXIFELM3QPMMOPANCNFSM4HDZGN6A>
.
--
Chris Roth
cjroth.com <http://www.cjroth.com>
|
For those who stepped in here in searching for updated and actually working RN PDB solution - the guy contributed recently a lot and fixed issues with sync and attachments:
https://dev.to/craftzdog/hacking-pouchdb-to-use-on-react-native-1gjh
The text was updated successfully, but these errors were encountered: