Android/Firebase - Error while parsing timestamp in GCM event - Null timestamp

前端 未结 8 2108
自闭症患者
自闭症患者 2020-11-28 14:38

I\'m building an Android app which will receive push notifications. I\'ve got Firebase Cloud Messaging setup and pretty much working, such that I can send the following payl

相关标签:
8条回答
  • 2020-11-28 15:04

    I had the same problem, I've just set "body" parameter in notification and error dissapeared.

    0 讨论(0)
  • 2020-11-28 15:05

    What worked for me:

    Upgrading, not only firebase-messaging, but all Firebase libraries to the last version. In android/app/build.gradle:

    dependencies {
        implementation "com.google.firebase:firebase-core:16.0.0"  // upgraded
        implementation "com.google.firebase:firebase-analytics:16.0.0"  // upgraded
        implementation 'com.google.firebase:firebase-messaging:17.3.4'  // upgraded
    
        // ...
    
        implementation "com.google.firebase:firebase-invites:16.0.0"  // upgraded
    
        // ...
    }
    

    Not all of them are at version 17.x

    0 讨论(0)
提交回复
热议问题