Barcode Search in Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Barcode Search in Mobile App
Medium
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1050
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Development of Barcode Search in Mobile Application

Barcode search is not just "scanned and found". This pipeline: image capture → recognition → backend or local database query → result display. Each step can be bottleneck, and most often problems arise not in scanning, but what happens after.

Platform capabilities for recognition

iOS: AVFoundation with AVMetadataObjectTypeEAN13Code, UPCA, QRCode and dozen more types. Or VisionKitVNDetectBarcodesRequest with VNBarcodeObservation, more convenient for processing static images from gallery. DataScannerViewController (iOS 16+) — simplest path: one class, built-in UI, all types support from box.

Android: ML Kit Barcode Scanning (com.google.mlkit:barcode-scanning) — works offline, supports 1D and 2D codes. Or ZXing — proven library, but significantly slower on weak devices than ML Kit.

Choice depends on minimum OS version and offline requirements. ML Kit on Android requires Google Play Services; on devices without GMS (Huawei) need bundled model.

What's really hard: search, not scanning

Scanning itself — few lines of code. Complexity in search architecture:

Result deduplication. Camera recognizes same barcode dozens times per second. Without debounce request goes to server 50 times before user removes camera from shelf. Solution: throttle on last recognized code with 800ms-1s delay.

Offline search. If product catalog available locally, search by SQLite or Room (Android) / CoreData (iOS) by barcode field with index works instantly. Without index on 100k products table — 300-500ms even on flagship.

Unknown code. What to show if barcode not found in database? Fallback to Open Food Facts API, GS1 lookup, or just message? Product decision, but need to lay in architecture early — else redesign flow.

Example: debounce search on iOS

private var lastScannedCode: String?
private var searchTimer: Timer?

func handleScannedCode(_ code: String) {
    guard code != lastScannedCode else { return }
    lastScannedCode = code
    searchTimer?.invalidate()
    searchTimer = Timer.scheduledTimer(withTimeInterval: 0.8, repeats: false) { [weak self] _ in
        self?.performSearch(barcode: code)
    }
}

Barcode types and handling

Type Application Note
EAN-13 / UPC-A Retail products GS1 standard
Code 128 Logistics, warehouse Arbitrary text
QR Code Links, payments Up to 4096 bytes
Data Matrix Medications Small size
ITF-14 Group packaging Digits only

If tech spec doesn't specify exact types — clarify upfront. Including all types support without need slows recognition.

Development timeline: 1-3 days. Cost calculated individually after clarifying code types and search architecture.