Coder Social home page Coder Social logo

Comments (8)

 avatar commented on June 24, 2024

Same problem on a Samsung S5
It works like a charm on a Samsung tab A 2016

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

The issue only occurs when creating a transaction.
Creating a TSS or a CLIENT work well.

from fiskaly-kassensichv-client-java.

prempador avatar prempador commented on June 24, 2024

@Greelings Which Android Version (API Version) are you using on the S4 and S5. According to other issues I have seen String.join was added in Java 8 / Android API 26. What according to https://en.wikipedia.org/wiki/Android_version_history#Android_8.0_Oreo_(API_26) should be in Version 8.0 and higher.

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

@prempador That's the problem. Our app is targeting devices >= API 21 (lollipop) Which represents 89.3% of the Android devices.
According to https://developer.android.com/about/dashboards, targeting devices >= API 26 will make our app compatible with only 38.7% of the Android devices. That's a serious problem for us.
Do you think possible to support devices from API 21?

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

Here is how you can easily solve the problem:

You can use TextUtils.join instead:

String result = TextUtils.join(", ", list);

(String.join was added in Java 8, which is why you can't use it in Android.)

Source: https://stackoverflow.com/a/33803041/5607457

from fiskaly-kassensichv-client-java.

prempador avatar prempador commented on June 24, 2024

@Greelings Thanks for the information. First I thought this was a problem on okhttp3's side. But after reading through the error more carefully I saw that this is in fact in our code. I will come back to you later after fixing this.

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

Ok perfect, thank you.

from fiskaly-kassensichv-client-java.

auxdevelopment avatar auxdevelopment commented on June 24, 2024

Issue should be fixed by this PR.

from fiskaly-kassensichv-client-java.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.