Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions firebase-messaging/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# 25.0.2

- [changed] Fix ANR in SharedPreferencesQueue by reducing lock contention
- [feature] Added support for FCM registration using Firebase Installation ID as token
- [deprecated] Existing getToken, deleteToken, onNewToken api(s) are deprecated

# 25.0.1

Expand Down
18 changes: 14 additions & 4 deletions firebase-messaging/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
package com.google.firebase.messaging {

public class FirebaseMessaging {
method public com.google.android.gms.tasks.Task<java.lang.Void!> deleteToken();
method @Deprecated public com.google.android.gms.tasks.Task<java.lang.Void!> deleteToken();
method public boolean deliveryMetricsExportToBigQueryEnabled();
method public static com.google.firebase.messaging.FirebaseMessaging getInstance();
method public com.google.android.gms.tasks.Task<java.lang.String!> getToken();
method @Deprecated public com.google.android.gms.tasks.Task<java.lang.String!> getToken();
method public boolean isAutoInitEnabled();
method public boolean isNotificationDelegationEnabled();
method public com.google.android.gms.tasks.Task<java.lang.Void!> register();
method @Deprecated public void send(com.google.firebase.messaging.RemoteMessage);
method public void setAutoInitEnabled(boolean);
method public void setDeliveryMetricsExportToBigQuery(boolean);
method public com.google.android.gms.tasks.Task<java.lang.Void!> setNotificationDelegationEnabled(boolean);
method public com.google.android.gms.tasks.Task<java.lang.Void!> subscribeToTopic(String);
method public com.google.android.gms.tasks.Task<java.lang.Void!> unregister();
method public com.google.android.gms.tasks.Task<java.lang.Void!> unsubscribeFromTopic(String);
field @Deprecated public static final String INSTANCE_ID_SCOPE = "FCM";
}
Expand All @@ -23,9 +25,17 @@ package com.google.firebase.messaging {
method @WorkerThread public void onDeletedMessages();
method @WorkerThread public void onMessageReceived(com.google.firebase.messaging.RemoteMessage);
method @Deprecated @WorkerThread public void onMessageSent(String);
method @WorkerThread public void onNewToken(String);
method @Deprecated @WorkerThread public void onNewToken(String);
method @WorkerThread public void onRegistered(String);
method @Deprecated @WorkerThread public void onSendError(String, Exception);
method public final int onStartCommand(android.content.Intent!, int, int);
method @WorkerThread public void onUnregistered(String);
}

public class GmsRegistrationClient {
method public boolean isV1RegistrationEnabled();
method public com.google.android.gms.tasks.Task<java.lang.String!> register();
method public com.google.android.gms.tasks.Task<? extends java.lang.Object!> unregister();
}

public final class MessagingKt {
Expand All @@ -42,7 +52,7 @@ package com.google.firebase.messaging {
method public com.google.firebase.messaging.RemoteMessage.Notification? getNotification();
method @com.google.firebase.messaging.RemoteMessage.MessagePriority public int getOriginalPriority();
method @com.google.firebase.messaging.RemoteMessage.MessagePriority public int getPriority();
method public String? getSenderId();
method @Deprecated public String? getSenderId();
method public long getSentTime();
method @Deprecated public String? getTo();
method public int getTtl();
Expand Down
2 changes: 1 addition & 1 deletion firebase-messaging/firebase-messaging.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ dependencies {
api("com.google.firebase:firebase-encoders-json:18.0.0")
api("com.google.firebase:firebase-encoders-proto:16.0.0")
api("com.google.firebase:firebase-iid-interop:17.1.0")
api("com.google.firebase:firebase-installations:18.0.0") {
api("com.google.firebase:firebase-installations:19.1.0") {
exclude(group = "com.google.firebase", module = "firebase-common-ktx")
}
api("com.google.firebase:firebase-installations-interop:17.1.0")
Expand Down
Loading
Loading