我正在使用Firebase推送通知.所有其他移动设备显示一个通知,但我的Marshmallow 6.0.1显示40到50个通知.
google.message_id每次都改变.
@Override
public void onMessageReceived(String from, Bundle data) {
// this method is called multiple times
}
Run Code Online (Sandbox Code Playgroud) android android-notifications android-6.0-marshmallow firebase-cloud-messaging
Doctor summary (to see all details, run flutter doctor -v):
[?] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 6.1.7601], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
X Android SDK file not found: C:\Users\Admin\AppData\Local\Android\Sdk\build-tools\28.0.3\aapt.
[?] Android Studio (version 3.2)
[?] Connected devices (1 available)
! Doctor found issues in 1 category.
Run Code Online (Sandbox Code Playgroud)