-
Notifications
You must be signed in to change notification settings - Fork 215
/
test.json
64 lines (64 loc) · 1.69 KB
/
test.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"subscription_changed_test" : {
"from": {
"isSubscribed": false,
"isPushDisabled": true,
"pushToken": "07afbb0b4cb6e7ae5e81efc7fd5d35267ea9a4f12120045aebe29945e52ea30e",
"userId": null
},
"to": {
"isSubscribed": true,
"isPushDisabled": true,
"pushToken": "07afbb0b4cb6e7ae5e81efc7fd5d35267ea9a4f12120045aebe29945e52ea30e",
"userId": "c1b395fc-3b17-4c18-aaa6-195cd3461311"
}
},
"email_changed_test" : {
"from" : {
"subscribed" : false,
"emailUserId" : null,
"emailAddress" : null
},
"to" : {
"subscribed" : true,
"emailUserId" : "c1b395fc-3b17-4c18-aaa6-195cd3461311",
"emailAddress" : "[email protected]"
}
},
"notification_parsing_test" : {
"shown" : true,
"rawPayload" : "{ \"test\" : \"raw payload\" }",
"additionalData" : {
"additional" : "data"
},
"notificationId" : "8e0eeec2-aa42-4ff7-a74b-bce9ca9e588b",
"buttons" : [
{
"id" : "test1",
"text" : "BTN1"
}
],
"contentAvailable" : true,
"sound" : "default",
"attachments" : {
"id" : "https://www.onesignal.com"
},
"body" : "Welcome to OneSignal!",
"mutableContent" : true,
"displayType" : 1,
"appInFocus" : true,
"silent" : true
},
"permission_parsing_test" : {
"from" : {
"hasPrompted" : false,
"provisional" : false,
"status" : 0
},
"to" : {
"hasPrompted" : true,
"provisional" : true,
"status" : 2
}
}
}