fiskaly / fiskaly-sdk-java

fiskaly Cloud-TSE SDK for Java/JRE and Java/Android
MIT License
4 stars 0 forks source link

API for client configuration #8

Closed ceari closed 4 years ago

ceari commented 4 years ago

In the current Java API there doesn't seem to be a simple way to customize the client settings as described in https://developer.fiskaly.com/en/docs/client-documentation#3-add-custom-settings

Since the "context" is a private field in FiskalyHttpClient it also isn't straight forward to implement the JSON RPC call myself. I am able to work around this issue for now by accessing the private context field via reflection but it would be more elegant to have a proper API for configuration.

prempador commented 4 years ago

Hello @ceari,

thanks for reporting this issue. We are currently working on adding all features from the fiskaly Client into the Java SDK (as it was done in the other SDKs).

We will come back to you as soon as we are rolling out the missing features.