From 9e779202a04ab2bbaf9029b94b102df90f79cc31 Mon Sep 17 00:00:00 2001 From: Arthur Edamov Date: Tue, 31 Jan 2017 22:32:32 +0200 Subject: [PATCH] Fix Getting started example in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4283567..58990bb 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ $ composer require edamov/pushok 'AAAABBBBCC', // The Key ID obtained from Apple developer account 'team_id' => 'DDDDEEEEFF', // The Team ID obtained from Apple developer account 'app_bundle_id' => 'com.app.Test', // The bundle ID for app obtained from Apple developer account - 'private_key_path' => __DIR__ . 'private_key.p8', // Path to private key + 'private_key_path' => __DIR__ . '/private_key.p8', // Path to private key 'private_key_secret' => null // Private key secret ]; @@ -68,7 +68,7 @@ $payload = Payload::create()->setAlert($alert); $payload = $payload->setSound('default'); //add custom value to your notification, needs to be customized -$payload = $payload->setCustomValue("key",$value); +$payload = $payload->setCustomValue('key', 'value'); $deviceTokens = ['', '', ''];