Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scandit-flow-ng

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandit-flow-ng

Angular module for Scandit Flow WEB SDK

  • 0.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Scandit Flow JavaScript SDK - AngularJS wrapper

Build Status

The library is a wrapper over the Scandit Flow JavaScript SDK in order to provide a simple and convenient AngularJS module to integrate Angular applications with the Scandit Flow platform.

Getting started

To get started, take a look at the Getting started section of the Scandit Flow JavaScript SDK.

Installing

Using npm (for NodeJS):

$ npm install scandit-flow-ng

Using bower:

$ bower install scandit-flow-ng

Manually (downloaded from Releases):

<script src="angular-scandit.min.js"></script>

Client initialization

Provide your desired configuration into $scanditProvider (see more: client configuration).

angular.module('app', ['scandit.flow'])
    .config(function($scanditProvider) {
        $scanditProvider.configure({
            method: Scandit.Auth.Method.STATIC_KEY,
            key: 'cfYYYf975f1ZZZZa5555eea3e7XXX87'
        });
        // ...
    })

Usage

The library is automatically instantiated at application start-up. If using STATIC_KEY authentication method, at this moment your application is ready to use. Access the Db module to retrieve objects from the Scandit Flow Cloud DB (see more: accessing cloud storage).

app.controller('ProductListController', function($scope, $scandit) {
    $scandit.ready(function() {
        $scandit.Db['Product'].all().then(function(objects) {
            $scope.$apply(function() {
                $scope.objects = objects;
            });
        });
    });
});

Usage examples

For more detailed examples please take a look at the examples folder.

Documentation

API documentation will be available soon. For general documentation please refer to Scandit Flow - Documentation. (You need to log in with an already existing account to access the documentation)

License

The source code published here is released under the Apache 2.0 license: http://www.apache.org/licenses/LICENSE-2.0.

Questions? Contact support@scandit.com.

FAQs

Package last updated on 15 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc