/
push.ori_php
executable file
·62 lines (61 loc) · 2.63 KB
/
push.ori_php
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
<?php
return array(
'local' => array(
'ios' => array(
// desarrolllo
'host' => 'gateway.sandbox.push.apple.com:2195',
'cert' => path('bundle') . 'push/certificates/taxisya_usuarios_new.pem',
// producción
'pwd' => 'imaginamos'
),
'taxistas_ios' => array(
'host' => 'gateway.sandbox.push.apple.com:2195',
'cert' => path('bundle') . 'push/certificates/taxisya_conductor_ck.pem',
'pwd' => 'imaginamos'
),
'diageo' => array(
'host' => 'gateway.sandbox.push.apple.com:2195', //'gateway.sandbox.push.apple.com:2195',
'cert' => path('bundle') . 'push/certificates/diageo_local.pem',
'pwd' => 'imaginamos'
),
'taxistas' => array(
'id_project' => '217009125456', //'689821773563',
'api_key' => 'AIzaSyDBtALa3dlayVcOnMJKdUaCqNsFcinm8Po', //'AIzaSyBmUa3uM0YI2p4tz700kydwUfTpGZ03QZw',
'host' => 'https://android.googleapis.com/gcm/send'
),
'usuarios' => array(
'id_project' => '239425727079',
'api_key' => 'AIzaSyDproJjJc6obUCPE1OuXmun0_0yN6dLEKY',
'host' => 'https://android.googleapis.com/gcm/send'
),
),
'prod' => array(
'ios' => array(
//'host' => 'gateway.sandbox.push.apple.com:2195',
'host' => 'gateway.push.apple.com:2195',
//'cert' => path('bundle') . 'push/certificates/taxisya_usuarios_ck.pem',
'cert' => path('bundle') . 'push/certificates/taxisya_usuarios_new.pem',
'pwd' => 'imaginamos'
),
'taxistas_ios' => array(
'host' => 'gateway.sandbox.push.apple.com:2195',
'cert' => path('bundle') . 'push/certificates/taxisya_conductor_ck.pem',
'pwd' => 'imaginamos'
),
'diageo' => array(
'host' => 'gateway.sandbox.push.apple.com:2195', //'gateway.sandbox.push.apple.com:2195',
'cert' => path('bundle') . 'push/certificates/diageo.pem',
'pwd' => 'imaginamos'
),
'taxistas' => array(
'id_project' => '217009125456', //'689821773563',
'api_key' => 'AIzaSyDBtALa3dlayVcOnMJKdUaCqNsFcinm8Po', //'AIzaSyBmUa3uM0YI2p4tz700kydwUfTpGZ03QZw',
'host' => 'https://android.googleapis.com/gcm/send'
),
'usuarios' => array(
'id_project' => '239425727079',
'api_key' => 'AIzaSyDproJjJc6obUCPE1OuXmun0_0yN6dLEKY',
'host' => 'https://android.googleapis.com/gcm/send'
),
),
);