Giter VIP home page Giter VIP logo

Comments (7)

judepereira avatar judepereira commented on May 26, 2024

We'll be adding this to Maven Central soon. I'll keep this open until it's released.

from apns-http2.

icecreamhead avatar icecreamhead commented on May 26, 2024

Any update on this?

from apns-http2.

judepereira avatar judepereira commented on May 26, 2024

Hey @icecreamhead, not yet. I've not got around to using this due to lack of time. I should be able to have this done soon though.

from apns-http2.

rajibm2005 avatar rajibm2005 commented on May 26, 2024

I'm doing a PoC for APNS with CleverTap's apns-http2 library. It looks promising so far. Could you please add to maven central ?

Also, I found exception handling can be improved in the code.

if (cachedJWTToken == null || System.currentTimeMillis() - lastJWTTokenTS > 55 * 60 * 1000) {
try {
lastJWTTokenTS = System.currentTimeMillis();
cachedJWTToken = JWT.getToken(teamID, keyID, apnsAuthKey);
} catch (InvalidKepSpecException | NoSuchAlgorithmException | SignatureException | InvalidKeyException e) {
return null;
}

Can we throw proper exception here, instead of returning null so that we know what exactly went wrong (e,g premature EOF etc) ?

Please let me know your thoughts on this.

from apns-http2.

Eiarzate1 avatar Eiarzate1 commented on May 26, 2024

@rajibm2005 What did you end up doing? Did you end up using apns-http2 for your actual product?

from apns-http2.

EasonFeng5870 avatar EasonFeng5870 commented on May 26, 2024

pls hurry up man

from apns-http2.

judepereira avatar judepereira commented on May 26, 2024

It's now available:

<dependency>
    <groupId>com.clevertap.apns</groupId>
    <artifactId>apns-http2</artifactId>
    <version>1.0.2</version>
</dependency>

from apns-http2.

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.