Giter Site home page Giter Site logo

Comments (7)

ipragmatechadmin avatar ipragmatechadmin commented on May 28, 2024 1

Hi Joan,

Finally able to resolve the issue by adding following in the proguard file:

#SnappyDB
-keep class com.esotericsoftware.kryo.* {;}

I shall update my example as well so the people can get the full example with the network.

Cheers,
Kapil

from android-asyncservice.

JoanZapata avatar JoanZapata commented on May 28, 2024

Are you saying it works when you disable proguard?

from android-asyncservice.

ipragmatechadmin avatar ipragmatechadmin commented on May 28, 2024

Yes, It works fine if minifyEnable is set false. Try to run your example or https://github.com/ipragmatech/AsyncService-Spring-Android-Sample with progruard enabled.

from android-asyncservice.

JoanZapata avatar JoanZapata commented on May 28, 2024

Oops, sorry I missed your answer. I added your proguard config to the main page. Thanks!

from android-asyncservice.

ipragmatechadmin avatar ipragmatechadmin commented on May 28, 2024

You are welcome :-). I have question regarding Error Handling, I noticed that adding errorManagement on every method handles the exceptions but I couldn't found a way to keep common exception(Like network issue or server Internal error) in Base Class. I tried to put the errorManagement annotation on class as mentioned in your blog but it's not working. Could you help me to find a way where I can keep the common Exception at base class and have special error handing for methods ?

from android-asyncservice.

JoanZapata avatar JoanZapata commented on May 28, 2024

Can you open an issue about this a show some example code please? I think what you describe should be working.

from android-asyncservice.

ipragmatechadmin avatar ipragmatechadmin commented on May 28, 2024

thx for quick response. Actually it was fault at my end, I added ErrorManagement in the function to handle special case and could have common errormanagement in the class level :-)

from android-asyncservice.

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.