mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
iOS Push Notifications
This commit is contained in:
parent
50ddbcf609
commit
2cd3571f25
@ -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()
|
||||
|
@ -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'
|
||||
)
|
||||
]
|
||||
|
||||
];
|
Loading…
Reference in New Issue
Block a user