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 = ['', '', ''];