diff --git a/android/src/main/java/com/evollu/react/fcm/FIRLocalMessagingHelper.java b/android/src/main/java/com/evollu/react/fcm/FIRLocalMessagingHelper.java index f223955d744a6242636ae60af5e6a04af869f38a..32d74c4fc7454a7d5c160961256d3d167ec180c2 100644 --- a/android/src/main/java/com/evollu/react/fcm/FIRLocalMessagingHelper.java +++ b/android/src/main/java/com/evollu/react/fcm/FIRLocalMessagingHelper.java @@ -221,7 +221,7 @@ public class FIRLocalMessagingHelper { return; } - Long fireDate = bundle.getLong("fire_date", Math.round(bundle.getDouble("fire_date"))); + Long fireDate = Math.round(bundle.getDouble("fire_date")); if (fireDate == 0) { Log.e(TAG, "failed to schedule notification because fire date is missing"); return;