Registry / messaging / jpush-client

jpush-client

JSON →
library3.7.7javamavenunverified

Officially supported Java client library for accessing JPush APIs.

<dependency> <groupId>cn.jpush.api</groupId> <artifactId>jpush-client</artifactId> <version>3.7.7</version> </dependency>
INSTALL
IMPORT
SIG · JPUSH-CLIENT
J
jpush-client
messagingjavav3.7.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JPushClient
cn.jpush.api.JPushClient

Send a push notification using JPush

import cn.jpush.api.JPushClient; public class Example { public static void main(String[] args) { JPushClient client = new JPushClient("masterSecret", "appKey"); PushResult result = client.sendPush("Hello"); System.out.println(result); } }
Debug
Known issues
gotchaJPush API keys must be kept secure; do not hardcode.
fix
Use environment variables or a secure configuration service.
affects: >=3.7.7
Upgrade
Version history
3.7.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
jpush-client — mvn dependency:get jpush-client · libregistry