When preparing for migration to Fiskaly Sign API v2, I discovered some issue with java sdk (checked with 1.2.200).
Trying to connect to non-existing API version (I'm aware that v2 is not yet available on LIVE environment yet)
val apiKey = "API_KEY"
val apiSecret = "API_SECRET"
val client = FiskalyHttpClient(apiKey, apiSecret, "https://kassensichv.io/api/v2") // <- v2 is not yet deployed to live
println(client.request("GET", "/tss"))
When preparing for migration to Fiskaly Sign API v2, I discovered some issue with java sdk (checked with
1.2.200
). Trying to connect to non-existing API version (I'm aware that v2 is not yet available onLIVE
environment yet)results in native sdk crash (e.g. on MacOS, it is
while on Android
)
Shouldn't such a case be somehow handled, e.g. some error instead of crash?