patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy
https://patrickzedler.com/grocy/
GNU General Public License v3.0
842 stars 80 forks source link

Add support for Grocy 4.0.3 #772

Closed jahway603 closed 10 months ago

jahway603 commented 10 months ago

Running latest grocy-android release v 3.3.1 with a recently upgraded grocy server to v 4.0.3 & the app claims it is unsupported.

bzar commented 10 months ago

This combination seems to have broken consuming products for some reason. Works on Web UI, getting

Network error

com.android.volley.ClientError
    at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:251)
    at com.android.volley.NetworkDispatcher.processRequest(NetworkDispatcher.java:51)
    at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:6)

on android client.

dominiczedler commented 10 months ago

I'm currently working on my bachelor thesis, sorry for the delays. I will look into it and hopefully a fix can be released in the next days... I can also reproduce the bug.

dominiczedler commented 10 months ago

Closed with https://github.com/patzly/grocy-android/commit/6ec5276270febb694386f5d3169f52953c082da7.

stuckinger commented 10 months ago

Hi! I know this issue is closed, but isn't the current version on f-droid still 3.3.1 which does not support 4.0.3 server version? I am having the same issue. Is there a roadmap on bringing the version that's working with 4.0.3 server to f-droid soon?

dominiczedler commented 10 months ago

@stuckinger There was an issue with a library version which is not supported by the build server. We have to release another version first, so that the build server has the updated library. In the meantime you could also use the GitHub APK downloads.

patzly commented 10 months ago

If you use the GitHub download until we release a small update in one week, you sadly have to uninstall the F-Droid version first because the GitHub version uses the Google Play signature.

stuckinger commented 10 months ago

Thanks for your reply! @patzly: one week is enough for me as a "roadmap" ;-) I just started with Grocy, so I can just wait another week and hope it will work smoothly with a new version from fdroid.