Skip to content
No description, website, or topics provided.
Objective-C Ruby
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind BlinkReceipt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

BlinkReceipt Integration Instructions

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like BlinkReceipt in your projects. If you do not have Cocoapods installed, see the Getting Started Guide.


source ''
source ''

platform :ios, '8.0'

target 'YourTarget' do

  pod 'BlinkReceipt', '~> 1.0'

After editing your Podfile, run pod install and then make sure to open the .xcworkspace file rather than the .xcodeproj


  • Add the following to the top of your AppDelegate.m:
#import <BlinkReceipt/BlinkReceipt.h>
  • Add the following to the applicationDidFinishLaunching: method:
[BRScanManager sharedManager].licenseKey = @"YOUR-LICENSE-KEY";
  • The simplest way to test the SDK is by launching our prepackaged scanning experience

Prepackaged Scanning Experience

This scanning mode simulates the user snapping a series of still photos although in fact live video frames are actually being scanned in the background. To test this:

  • Add the following code to the top of your view controller
#import <BlinkReceipt/BlinkReceipt.h>
  • Add the following code to an IBAction handler in your view controller:
- (IBAction)btnTouched:(id)sender {
  BRScanOptions *scanOptions = [BRScanOptions new];
  [[BRScanManager sharedManager] startStaticCameraFromController:self
  • Declare your view controller to conform to BRScanResultsDelegate:
@interface MyViewController () <BRScanResultsDelegate>
  • Implement the delegate callback to handle scan results:
- (void)didFinishScanning:(UIViewController *)cameraViewController withScanResults:(BRScanResults *)scanResults {
    [cameraViewController dismissViewControllerAnimated:YES completion:nil];
    //Use scan results

Custom Camera Controller UI

You can also build out your own UI that sits on top of our basic camera controller. Check out our Custom Camera Controller guide for further details.

Copyright (c) 2017 BlinkReceipt. All rights reserved.

You can’t perform that action at this time.