Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/Messaging/Send/Send.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* You can test this example with Firebase Cloud Messaging Web Client App in /examples/Messaging/WebClient.
*
* The complete usage guidelines, please read README.md or visit https://github.com/mobizt/FirebaseClient
* For the complete usage guidelines, please read README.md or visit https://github.com/mobizt/FirebaseClient
*/

#define ENABLE_SERVICE_AUTH
Expand Down Expand Up @@ -101,7 +101,7 @@ void loop()

void processData(AsyncResult &aResult)
{
// Exits when no result available when calling from the loop.
// Exits when no result is available when calling from the loop.
if (!aResult.isResult())
return;

Expand Down Expand Up @@ -155,7 +155,7 @@ void getMsg(Messages::Message &msg)

Messages::AndroidConfig androidConfig;

// Priority of a message to send to Android devices.
// Set the priority of a message to send to Android devices.
// https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority
androidConfig.priority(Messages::AndroidMessagePriority::_HIGH);

Expand Down Expand Up @@ -201,4 +201,4 @@ void send_message_await(Messages::Message &msg)
Serial.println(payload);
else
Firebase.printf("Error, msg: %s, code: %d\n", aClient.lastError().message().c_str(), aClient.lastError().code());
}
}