Skip to content

Conversation

@lukepighetti
Copy link

@lukepighetti lukepighetti commented Feb 22, 2021

closes #26

I'd suggest a squash & merge for this one.

@lukepighetti
Copy link
Author

lukepighetti commented Mar 9, 2021

Just a heads up, I'm getting an error sometimes when trying to precache with this PR. Haven't had a chance to track down the issue yet.

Exception has occurred.
SqfliteDatabaseException (DatabaseException(Error Domain=FMDatabase Code=1555 "UNIQUE constraint failed: images.uri" UserInfo={NSLocalizedDescription=UNIQUE constraint failed: images.uri}) sql 'INSERT INTO images (version, localPath, bucket, remotePath, uri) VALUES (?, ?, ?, ?, ?)' args [1615257138073, /var/mobile/Containers/Data/Application/244CBB66-3900-4744-9F4D-01950404B349/Library/Caches/firebase_image/app-dev/users/bvPkj797rvNL8zsTQLk6WaoZsp73/avatars/754d74f6-8c4a-4481-812a-26cb3e7286ae, gs://vgl-cf65a.appspot.com, /app-dev/users/bvPkj797rvNL8zsTQLk6WaoZsp73/avatars/754d74f6-8c4a-4481-812a-26cb3e7286ae, gs://vgl-cf65a.appspot.com/app-dev/users/bvPkj797rvNL8zsTQLk6WaoZsp73/avatars/754d74f6-8c4a-4481-812a-26cb3e7286ae]})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: easy way to pre-cache by url

1 participant