Skip to content

Restock 0.19.0 (beta)

Choose a tag to compare

@d-plenty d-plenty released this 28 Nov 12:22
· 11 commits to main since this release

Release candidate. Restock is still local first: everything works on your phone with no signal and no server.

0.19.0: a screen that stays on "Loading…" now says why and keeps trying, Restock opens quicker, and the code for versions before 0.14.0 is taken out. Nothing moves.

Updating

  • Android: install 0.19.0 over 0.18.4 (or any version). Nothing is lost.
  • iPhone and iPad: the file is restock-0.19.0-unsigned.ipa, below. It's installed from a computer: how, and the warnings. Install it over the top and your data stays.
  • With a Restock server: update it to 0.19.0 too. Phones and servers from 0.14.0 on work together.

What's new

  • "Loading…" says why. On an iPhone joined to a Restock server, Home, Pantry and the list can still stay on "Loading…" (0.18.4 didn't cure it, and the cause isn't known yet). A screen still loading after 6 seconds now shows what it's waiting for, how long, and the last error, with Copy and Try again. If you see it, please send those lines in a report.
  • Nothing waits for good. A screen's read with no answer after 20 seconds is tried again by itself. On iPhone and iPad a read is also asked a second way if the first hasn't answered in 6 seconds, and an answer that can't cross from the native side is now an error in words. The items still show if the shared prices can't be read.
  • Quicker to open. Several screens ask the database for the same things at once; each question is answered once and shared. Opening to Home on a test iPad with 400 items makes 84 trips to the database (108 before) and fetches 23,000 rows (39,000 before).
  • Outside requests give up. Checks with GitHub and barcode look-ups stop after 12 to 20 seconds instead of waiting. Closing the share menu without choosing is no longer noted as a problem.
  • Old code out. What was only for Restock and Restock servers before 0.14.0 is gone, about 250 unused pieces of code with it.
  • The server's web page: Addresses → Test both asks the server to try each address, so it's right for the address the page isn't open on.
  • Checked: a script opened about 200 screens and sheets on iPhone and iPad sizes and pressed what it could reach, with no errors found. It can't press the camera, notifications, widgets or the share menu, and it doesn't run on a real iPhone.

Check your download: SHA-256 of restock-0.19.0.apk is c36fbdaf9fc0cfb77522239c1760396395ce5a1364020a9046bb34106da1f9ae