Enable the BCBP Boarding Pass Parser on Android

Added Bar Coded Boarding Pass (BCBP) parser
We introduced a full BCBP parser for IATA-style boarding pass payloads. It can be used explicitly through BCBP formatting mode, and it is also integrated into automatic parsing with a lightweight pre-check to avoid false positives. The parser extracts mandatory header and leg data, supports variable and security sections, decodes baggage-related fields, and outputs structured parsed content. It also includes permissive handling for real-world non-standard payloads (for example, small padding irregularities) while still preserving parse diagnostics.

Bar Coded Boarding Pass (BCBP) parser #

We added support for parsing BCBP (Bar Coded Boarding Pass) data.

You can explicitly enable BCBP formatting with:

                                bkdView.config.getDecoderConfig().formattingType = Barkoder.FormattingType.BCBP;
            
            

You can also use the Automatic formatting mode, where BCBP barcodes can be automatically recognized and parsed.

When BCBP formatting is enabled and you scan a compatible barcode from a flight boarding pass, the result will contain additional structured BCBP data in results extras instead of only the raw barcode value.

This is useful when you need to extract information from a boarding pass, such as passenger, flight, journey, and other available boarding-pass fields.

Page Contents