1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

iOS Push Notifications

This commit is contained in:
David Bomba 2016-02-29 21:35:14 +11:00
parent 50ddbcf609
commit 2cd3571f25
2 changed files with 13 additions and 6 deletions

View File

@ -14,6 +14,13 @@ class PushFactory
{
/**
* PushFactory constructor.
*
* @param $this->certificate - Development or production.
*
* Static variables defined in routes.php
*
* IOS_PRODUCTION_PUSH
* IOS_DEV_PUSH
*/
public function __construct()

View File

@ -2,22 +2,22 @@
return [
'devNinjaIOS' => array(
'devNinjaIOS' => [
'environment' =>'development',
'certificate'=>app_path().'/certs/ninjaIOS.pem',
'passPhrase' =>'',
'service' =>'apns'
),
'ninjaIOS' => array(
],
'ninjaIOS' => [
'environment' =>'production',
'certificate'=>app_path().'/certs/productionNinjaIOS.pem',
'passPhrase' =>'',
'service' =>'apns'
),
'ninjaAndroid' => array(
],
'ninjaAndroid' => [
'environment' =>'production',
'apiKey' =>'yourAPIKey',
'service' =>'gcm'
)
]
];