You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-17Lines changed: 22 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -36,23 +36,23 @@ This will generate a config file like this
36
36
```
37
37
array(
38
38
'appNameIOS'=>array(
39
-
'environment'=>'development',
40
-
'certificate'=>'/path/to/certificate.pem',
41
-
'passPhrase'=>'password',
42
-
'service'=>'apns'
39
+
'environment' => 'development',
40
+
'certificate' => '/path/to/certificate.pem',
41
+
'passPhrase' => 'password',
42
+
'service' => 'apns'
43
43
),
44
44
'appNameAndroid'=>array(
45
-
'environment'=>'production',
46
-
'apiKey'=>'yourAPIKey',
47
-
'service'=>'gcm'
45
+
'environment' => 'production',
46
+
'apiKey' => 'yourAPIKey',
47
+
'service' => 'gcm'
48
48
)
49
49
);
50
50
```
51
51
Where all first level keys corresponds to an service configuration, each service has its own properties, android for instance have `apiKey` and IOS uses `certificate` and `passPhrase`. You can set as many services configurations as you want, one for each app.
52
52
53
-
#####Dont forget to set `service` key to identify IOS `'service'=>'apns'` and Android `'service'=>'gcm'`
53
+
#####Dont forget to set `service` key to identify IOS `'service'=>'apns'` and Android `'service'=>'gcm'`
54
54
55
-
#####The certificate path must be an absolute path, so in the configuration file you can use these:
55
+
#####The certificate path must be an absolute path, so in the configuration file you can use these:
0 commit comments