Skip to content

precache#27

Open
lukepighetti wants to merge 3 commits into
mattreid1:masterfrom
lukepighetti:master
Open

precache#27
lukepighetti wants to merge 3 commits into
mattreid1:masterfrom
lukepighetti:master

Conversation

@lukepighetti

@lukepighetti lukepighetti commented Feb 22, 2021

Copy link
Copy Markdown

closes #26

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

@lukepighetti

lukepighetti commented Mar 9, 2021

Copy link
Copy Markdown
Author

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