Skip to content

Add documentation to onMessageReceived on the time to handle a message. #5147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ public class FirebaseMessagingService extends EnhancedIntentService {
/**
* Called when a message is received.
*
* <p>This should complete within 20 seconds. Taking longer may interfere with your ability to
* complete your work and may affect pending messages.
*
* <p>This is also called when a notification message is received while the app is in the
* foreground. The notification parameters can be retrieved with {@link
* RemoteMessage#getNotification()}.
Expand Down Expand Up @@ -143,7 +146,6 @@ public void onSendError(@NonNull String msgId, @NonNull Exception exception) {}
*/
@WorkerThread
public void onNewToken(@NonNull String token) {}
;

/** @hide */
@Override
Expand Down