-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/plugins
#737Closed
Copy link
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolep: firebaseFirebase pluginsFirebase pluginspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
Steps to Reproduce
Hi Guys,
I'm using firebase_messaging: 1.0.3 I'm seeing this problem on android, the information that is sent from firebase is the following
{
"notification": {
"title": "title test1",
"body": "body message"
},
"data": {
"click_action": "FLUTTER_NOTIFICATION_CLICK"
}
}Logs
W/FirebaseMessaging( 6923): Error while parsing timestamp in GCM event
W/FirebaseMessaging( 6923): java.lang.NumberFormatException: s == null
W/FirebaseMessaging( 6923): at java.lang.Integer.parseInt(Integer.java:577)
W/FirebaseMessaging( 6923): at java.lang.Integer.parseInt(Integer.java:650)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.zzb.zzb(Unknown Source:90)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.zzb.zzc(Unknown Source:3)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:348)
W/FirebaseMessaging( 6923): at com.google.firebase.iid.zzg.run(Unknown Source:29)
W/FirebaseMessaging( 6923): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/FirebaseMessaging( 6923): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/FirebaseMessaging( 6923): at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)
W/FirebaseMessaging( 6923): at java.lang.Thread.run(Thread.java:764)
W/FirebaseMessaging( 6923): Error while parsing timestamp in GCM event
W/FirebaseMessaging( 6923): java.lang.NumberFormatException: s == null
W/FirebaseMessaging( 6923): at java.lang.Integer.parseInt(Integer.java:577)
W/FirebaseMessaging( 6923): at java.lang.Integer.parseInt(Integer.java:650)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.zzb.zzb(Unknown Source:90)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.zzb.zzf(Unknown Source:3)
W/FirebaseMessaging( 6923): at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:390)
W/FirebaseMessaging( 6923): at com.google.firebase.iid.zzg.run(Unknown Source:29)
W/FirebaseMessaging( 6923): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/FirebaseMessaging( 6923): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/FirebaseMessaging( 6923): at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)
W/FirebaseMessaging( 6923): at java.lang.Thread.run(Thread.java:764)
flutter doctor -v
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale es_PE.UTF-8)
• Flutter version 0.5.1 at /home/ed/flutter
• Framework revision c7ea3ca377 (hace 5 semanas), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/ed/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.1)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[!] VS Code (version 1.24.1)
• VS Code at /usr/share/code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator)
! Doctor found issues in 1 category.
obiwan007, jeroen-meijer, CaseyJonesMedea, devsontx, jcardama and 2 more
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolep: firebaseFirebase pluginsFirebase pluginspackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.