mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 03:59:18 +08:00
[android,js] misc messaging
This commit is contained in:
@@ -219,7 +219,8 @@ public class RNFirebaseLocalMessagingHelper {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user