JavaPNS

Java client library to use Apple Push Notification Service

Лицензия

Лицензия

Группа

Группа

org.drjekyll
Идентификатор

Идентификатор

javapns
Последняя версия

Последняя версия

2.4.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

JavaPNS
Java client library to use Apple Push Notification Service
Ссылка на сайт

Ссылка на сайт

https://javapns.drjekyll.org
Организация-разработчик

Организация-разработчик

drjekyll.org
Система контроля версий

Система контроля версий

https://github.com/drjekyll-org/javapns

Скачать javapns

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.drjekyll/javapns/ -->
<dependency>
    <groupId>org.drjekyll</groupId>
    <artifactId>javapns</artifactId>
    <version>2.4.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.drjekyll/javapns/
implementation 'org.drjekyll:javapns:2.4.2'
// https://jarcasting.com/artifacts/org.drjekyll/javapns/
implementation ("org.drjekyll:javapns:2.4.2")
'org.drjekyll:javapns:jar:2.4.2'
<dependency org="org.drjekyll" name="javapns" rev="2.4.2">
  <artifact name="javapns" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.drjekyll', module='javapns', version='2.4.2')
)
libraryDependencies += "org.drjekyll" % "javapns" % "2.4.2"
[org.drjekyll/javapns "2.4.2"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.30
org.json : json jar 20200518
org.bouncycastle : bcprov-jdk15on jar 1.65

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.slf4j : slf4j-simple jar 1.7.30
org.mockito : mockito-core jar 3.3.3
com.github.tomakehurst : wiremock-jre8 jar 2.26.3

Модули Проекта

Данный проект не имеет модулей.

JavaPNS

Maven Verify GitHub Maven Central

Deprecated! See https://developer.apple.com/news/?id=11042019a

JavaPNS is a Java library to send notifications through the Apple Push Notification Service (APNS). It allows to push notifications to iOS devices through APNS.

This is a modified fork of the JavaPNS fork from mlaccetti. The original version comes from Sylvain Pedneault and is located here.

You'll find many examples on how to use this library here.

Usage

JavaPNS is available on the Central Maven Repository. To use it in your project, please add the following dependency to your POM:

<dependency>
	<groupId>org.drjekyll</groupId>
	<artifactId>javapns</artifactId>
	<version>2.4.2</version>
</dependency>

Development

To run the tests build a snapshot JAR, just run

./mvnw clean install

Contributing

Please read the contribution document for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the LGPL License - see the license file for details.

Release Notes

2.4.2

  • Logging improvements (replace string concatenation)
  • Add more aps dictionary items: thread-id, category and target-content-id
  • Add more custom alert fields: title, subtitle, launch-image, title-loc-key, title-loc-args, subtitle-loc-key, subtitle-loc-args

2.4.1

  • Deprecate PushNotificationBigPayload. Use PushNotificationPayload instead.

2.4.0

  • Allow device tokens with more than 64 bytes
  • Increase the maximum payload size to 4000 bytes
  • Keep SSL connections alive
  • Allow to add media attachment to PushNotificationPayload

2.3.4

  • Make put method of Payload protected
  • Make constructors of PushNotificationPayload protected
  • Code cleanup
  • Remove duplicate exceptions from getMessage in PushNotificationManager
  • Remove throws clauses on methods for checked exceptions that will never be thrown

2.3.3

  • Update dependencies: org.json and slf4j
  • Little tweaks
  • Replace deprecated SSLSession methods

2.3.2

  • 1.8 tweaks
  • General cleanup and overhaul

2.3.1

  • PushNotificationBigPayload complex and fromJson methods fixed
  • Fix to make trust store work on IBM JVM

2.3

  • iOS>=8 bigger notification payload support (2 KB)
  • iOS>=7 Silent push notifications support ("content-available":1)
org.drjekyll

drjekyll.org

Creating Open Source Java Libraries

Версии библиотеки

Версия
2.4.2
2.4.1
2.4.0
2.3.4
2.3.3