Receive flight update notifications
When certain fields of a flight are changed, users with one or more boarding passes added
receive a push notification on their devices. This happens only if certain conditions are met.
Origin terminal and gate
If you change class.origin.terminal
or class.origin.gate
,
and the following condition is met, a notification is sent that the field has changed.
- There are less than three hours to go
before
class.localScheduledDepartureDateTime
.
The notification is in the following format: “Sample Airlines has updated your gate to A1.” The
format cannot be changed.
Boarding time and departure time
If you change class.localBoardingDateTime
or class.localEstimatedOrActualDepartureDateTime
, and conditions below are met, a
notification is sent that the field has changed.
- There are less than 24 hours to go
before
class.localScheduledDepartureDateTime
.
- The respective time changes by at least 10 minutes or more.
The notification is in the following format: "_Sample Airlines has updated your boarding time to
6:00PM._" The format or language cannot be customized.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["Push notifications are sent to users with boarding passes when specific flight details like origin terminal, gate, boarding time, or departure time are changed, but only under certain conditions."],["Notifications regarding origin terminal or gate changes are triggered if the change occurs within three hours of the scheduled departure time."],["Boarding time or departure time change notifications are sent if the change is at least 10 minutes and within 24 hours of the scheduled departure."],["The notification formats for gate, boarding time, and departure time updates are pre-defined and cannot be customized."]]],["Flight information updates trigger push notifications to users with boarding passes when specific conditions are met. Changes to the origin terminal or gate send a notification if the flight is within three hours of departure. Alterations to boarding or departure times prompt notifications within 24 hours of departure, provided the change is 10 minutes or more. Notifications follow fixed formats: \"Sample Airlines has updated your gate to...\" or \"...boarding time to...\". The system does not allow to change the formats or the language.\n"]]