msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

migration for single serverURL update #261

Closed jmbrunskill closed 8 months ago

jmbrunskill commented 8 months ago

Closes #260

Adds a migration to derive the Sync Server URL from the old authURL.

Tested by hard coding an old url, and the version number and running in emulator. Would be good to try a upgrade on a real app.

mark-prins commented 8 months ago

Not sure what went wrong there - I've had to add a } to MainActivity.java in order to get this to compile 😕 Will push the change