from uupush.push import UUPush
app_id = ""
app_secret = ""
channel = ""
context = {}
ttl = 0
UUPush(app_id, app_secret).send(channel, context, ttl)
apns = {
"alert": "new",
"badge": 1,
"sound": "beep.wav",
"content_available": False,
}
UUPush(app_id, app_secret).send(channel, context, ttl, apns)
-
Notifications
You must be signed in to change notification settings - Fork 0
zhumengyuan/uupush-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published