Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

smallstoneapps/qr-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Layer npm (scoped) MIT License Build Status

A minimalist QR code layer for Pebble apps and watchfaces.

As of January 2017, this library is officially abandoned.

Installation

You must be using Pebble SDK 3.12 or newer to use this library.

To install the package to your app, use the pebble tool:

pebble package install @smallstoneapps/qr-layer

Usage

To create a QR code layer object and add it to the window.

QRLayer* layer = qr_layer_create(GRect(0, 0, 144, 144));
qr_layer_set_data("ABCDEF");
qr_layer_add_to_window(layer, window);