Closed codetricity closed 1 year ago
Thank you for your comment. We are sorry for the delay in replying as we were on vacation.
Theta-client does not currently support https connection, so it will not be able to connect to the fake-theta endpoint. We are currently investigating how to fix this.
Best regards,
@codetricity
With the update of Fake-THETA, the listFiles
command of theta-client on Android now works.
The reason for the error was that theta-client calls the listFiles
command with the _detail
option, while Fake-THETA did not support this option.
Since v0.3.0, Fake-THETA supports the _detail
option, and this problem is resolved.
(On iOS, the connection between theta-client and Fake-THETA is still not possible, probably due to problems with the http client CIO on iOS native environment.)
This is great news. Thanks for all your work.
Does theta-client work with fake-theta?
I'm using this endpoint in a Flutter app.
I am accessing
listFiles
like this:I am getting this error:
This is the output.
In addition to the error, I cannot access the
ThetaFiles.fileList
andThetaFiles.totalEntries
properties.How can I use theta-client with fake-theta for the basic APIs supported by fake-theta?
The same
listFiles
command works with a normalhttp.post
command in my Flutter app. At the moment, I am forced to build the app with the http package instead of theta-client. However, I would like to use theta-client.