Documentation
¶
Index ¶
- func TestAPNSClientDevHost(t *testing.T)
- func TestAPNSClientInvaildToken(t *testing.T)
- func TestAPNSClientProdHost(t *testing.T)
- func TestAPNSClientUseProxy(t *testing.T)
- func TestAPNSClientVaildToken(t *testing.T)
- func TestAlertStringExample2ForIos(t *testing.T)
- func TestAlertStringExample3ForIos(t *testing.T)
- func TestApnsHostFromRequest(t *testing.T)
- func TestCheckSilentNotification(t *testing.T)
- func TestDisabledAndroidIosConf(t *testing.T)
- func TestDisabledIosNotifications(t *testing.T)
- func TestIOSAlertNotificationStructure(t *testing.T)
- func TestIOSNotificationStructure(t *testing.T)
- func TestIOSSoundAndVolume(t *testing.T)
- func TestIOSSummaryArg(t *testing.T)
- func TestMessageAndTitle(t *testing.T)
- func TestMissingIOSCertificate(t *testing.T)
- func TestPushToIOS(t *testing.T)
- func TestSendZeroValueForBadgeKey(t *testing.T)
- func TestWrongIosCertificateExt(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAPNSClientDevHost ¶
func TestAPNSClientProdHost ¶
func TestAPNSClientUseProxy ¶
func TestAlertStringExample2ForIos ¶
URL: https://goo.gl/5xFo3C Example 2
{
"aps" : {
"alert" : {
"title" : "Game Request",
"body" : "Bob wants to play poker",
"action-loc-key" : "PLAY"
},
"badge" : 5
},
"acme1" : "bar",
"acme2" : [ "bang", "whiz" ]
}
func TestAlertStringExample3ForIos ¶
URL: https://goo.gl/5xFo3C Example 3
{
"aps" : {
"alert" : "You got your emails.",
"badge" : 9,
"sound" : "bingbong.aiff"
},
"acme1" : "bar",
"acme2" : 42
}
func TestApnsHostFromRequest ¶
func TestCheckSilentNotification ¶
Silent Notification: The payload’s aps dictionary must include the content-available key with a value of 1. The payload’s aps dictionary must not contain the alert, sound, or badge keys. ref: https://goo.gl/m9xyqG
func TestIOSSoundAndVolume ¶
func TestIOSSummaryArg ¶
func TestMessageAndTitle ¶
func TestPushToIOS ¶
func TestSendZeroValueForBadgeKey ¶
Silent Notification which payload’s aps dictionary must not contain the alert, sound, or badge keys. ref: https://goo.gl/m9xyqG
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.