dreautall / waterfly-iii

Unofficial Android App for Firefly III, a free and open source personal finance manager.
MIT License
369 stars 30 forks source link

type '_OneByteString' is not a subtype of type 'RMa' in type cast #18

Closed DaFlowah closed 1 year ago

DaFlowah commented 1 year ago

Hi there,

I'm trying to link the app to my Firefly instance via HTTP. So from my Firefly management, I go into Settings>Profile>OAuth and I create a new personal access token. Once created it, I copypaste it in the app under "Gultiger API-Schlussel". In Server URL I enter the IP of my Firefly instance in this format: http://xxx.xxx.xxx.xxx:xxxxxx Once I press "Login" I get prompted to the error message in the subject.

What am I doing wrong?

dreautall commented 1 year ago

Thanks, looks like the port was "thrown away" while passing around the host string. The recent commit should fix that, I'll probably publish a new release (v0.1.5-beta) around Sunday, please let me know if it works then!

DaFlowah commented 1 year ago

I confirm this is now working with 0.1.5-beta. I'm now logged on. Thank you for fixing the issue so quickly :D

sn0west commented 11 months ago

Hei I wanted to test this app but I can't login. Get an error connecting... Host url: https://myserverpath.xxx:port APi key: personal token adress

Error: unknown error. Instance of 'kTa'

Server version: 5.7.9 Waterfly version: 0.3.0-beta (199)

dreautall commented 11 months ago

Hi, a minimum of Firefly v6.0.0 is required for the app, sorry :( can you upgrade the server version?

sn0west commented 11 months ago

Hi, a minimum of Firefly v6.0.0 is required for the app, sorry :( can you upgrade the server version?

No unfortunaly not. I'm stuck in this version 5.7.9 because my synology nas has an old kernel version. And do not support new php 8, if I'm not mistaken...

Don't know what to do. Is there a firefly3 docker version working for Linux Kernel 3.10.105 #25556 x86_64 GNU/Linux synology_avoton_rs1219+

The docker version of nextcloud, I changed the dockercompose file from bullseye to buster and it worked. But on firefly 3 no idea wht to do.

The only way is to buy a new nas.

dreautall commented 11 months ago

I'm not too sure about what docker image you might be able to use (might be worth to make a thread in the FF3 discussions section) - sorry.

Unfortunately there have been major breaking API changes with V6.0.0. While I try to support as much as possible "downward-compatible", that one I needed to take as a baseline starting with app version v0.1.9-beta. The only thing I could suggest for you to try is to use an older app version like v0.1.8-beta - but obviously you'll miss out all the new stuff added since then (and to be added in the future).

Sorry :(