Git Product home page Git Product logo

Comments (11)

rmichela avatar rmichela commented on June 3, 2024

Thanks for the update. Android development only supports language features up to JDK 7.

Reactive-Grpc uses lambda expressions from JDK 8. I'll have to replace the lambda expressions with classes to make Reactive-Grpc work on Android. πŸ˜• Thank you for bringing this to my attention. Unfortunately, there is no quick fix.

from reactive-grpc.

rmichela avatar rmichela commented on June 3, 2024

It looks like the latest Android Studio supports some Java8 features. Perhaps this can help? https://developer.android.com/studio/write/java8-support.html

from reactive-grpc.

ozh-dev avatar ozh-dev commented on June 3, 2024

I have found answer....
In com.salesforce.rxgrpc.stub.ClientCalls you are using
import java.util.function.BiConsumer;
import java.util.function.Function;

but android support it on api 24+

from reactive-grpc.

rmichela avatar rmichela commented on June 3, 2024

Thanks for the update. I'll have to make some updates so the stubs compile for older versions of Android.

from reactive-grpc.

ozh-dev avatar ozh-dev commented on June 3, 2024

I'm sorry for my perseverance. When do you plan update it?

from reactive-grpc.

rmichela avatar rmichela commented on June 3, 2024

I don't have an ETA. If you need this faster, I'm happy look at a PR. πŸ˜‰

from reactive-grpc.

ozh-dev avatar ozh-dev commented on June 3, 2024

ok, thanks))

from reactive-grpc.

rmichela avatar rmichela commented on June 3, 2024

I've opened a PR. Can you test it before I merge? I don't have an Android development environment to use.

from reactive-grpc.

ozh-dev avatar ozh-dev commented on June 3, 2024

Will look into it immediately)))

from reactive-grpc.

rmichela avatar rmichela commented on June 3, 2024

I've downgraded the language level for RxGrpc to 1.6 to support RxJava on Android. @OlegZhilo has verified the fix.

I will ship 0.7.3 no later than the end of January. Release is currently blocked by #40.

from reactive-grpc.

ozh-dev avatar ozh-dev commented on June 3, 2024

@rmichela Thanks so much.

from reactive-grpc.

Related Issues (20)

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.