Commit bf37c6e9 authored by German Stuarts's avatar German Stuarts

fix fail notification schedule after reboot on Android

parent 2c385417
......@@ -58,7 +58,7 @@ public class FIRLocalMessagingHelper {
return;
}
Long fireDate = Math.round(bundle.getDouble("fire_date"));
Long fireDate = Math.round(bundle.getDouble("fire_date", bundle.getLong("fire_date")));
if (fireDate == 0) {
Log.e(TAG, "failed to schedule notification because fire date is missing");
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment