com.malliina.push.apns
Type members
Classlikes
- Companion
- object
APNs client, using the HTTP/2 notification API.
APNs client, using the HTTP/2 notification API.
Uses OkHttp with Jetty's "alpn-boot" in the bootclasspath for HTTP/2 support; please check the build definition of this project for details.
- See also
- Companion
- object
- Companion
- object
For security, APNs requires you to refresh your token regularly. Refresh your token no more than once every 20 minutes and no less than once every 60 minutes. APNs rejects any request whose token contains a timestamp that is more than one hour old. Similarly, APNs reports an error if you recreate your tokens more than once every 20 minutes.
For security, APNs requires you to refresh your token regularly. Refresh your token no more than once every 20 minutes and no less than once every 60 minutes. APNs rejects any request whose token contains a timestamp that is more than one hour old. Similarly, APNs reports an error if you recreate your tokens more than once every 20 minutes.
On your provider server, set up a recurring task to recreate your token with a current timestamp. Encrypt the token again and attach it to subsequent notification requests.
- See also
- Companion
- object
- Value Params
- alert
Some(Left(...)) for a simple alert text, Some(Right(...)) for more verbose alert details, None for background notifications
- badge
badge number
- sound
rock.mp3
- Companion
- object
- Companion
- object
Deprecated classlikes
- Companion
- object
- Deprecated