小编Ayu*_*ava的帖子

无法展开Firebase通知

我使用Firebase Auth和Messaging创建了一个应用程序,我一直通过Firebase控制台向应用程序发送通知,问题是我无法扩展通知,如果它很大.我该怎么做?帮我

public class FirebaseNots extends FirebaseMessagingService {


private static final String TAG = "MyFirebaseMsgService";

/**
 * Called when message is received.
 *
 * @param remoteMessage Object representing the message received from Firebase Cloud Messaging.
 */
// [START receive_message]
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
    // [START_EXCLUDE]
    // There are two types of messages data messages and notification messages. Data messages are handled
    // here in onMessageReceived whether the app is in the foreground or background. Data messages are the …
Run Code Online (Sandbox Code Playgroud)

android android-notifications firebase firebase-cloud-messaging firebase-notifications

6
推荐指数
1
解决办法
2286
查看次数