GithubHelp home page GithubHelp logo

cordova-lookback's Introduction

Cordova Lookback Plugin

Unofficial Cordova plugin for http://lookback.io (v0.6.4)

This project has now been picked up by the lookback team, please check out https://github.com/lookback/cordova-lookback for the official plugin, ongoing development and support.

Methods will be accessable on the window.Lookback object.

Utilizes Lookback HD - NOT suitable for deployment to app store, use for testing only.

Install

Please see the official fork over at https://github.com/lookback/cordova-lookback

Currently supported functions

Most of the functionality of the Lookback class has been implimented.

setupWithAppToken

call this first, once, and after device ready.

shakeToRecord

true|false

userIdentifier

Some unique per-device identifier, or set to deviceName to use the currentDevice name as assigned by iOS. ([[UIDevice currentDevice] name]);

paused

true|false

enteredView

pass in a view name

exitedView

pass in a view name

Example

document.addEventListener('deviceready', function(){
        window.Lookback.setupWithAppToken('your-app-token');
        window.Lookback.shakeToRecord(true);
        window.Lookback.userIdentifier('some-id-here');
        // or 
        //window.Lookback.userIdentifier('deviceName');
    }, false);

or...

document.addEventListener('deviceready', function(){
    window.Lookback.setupWithAppToken('your-app-token');
    window.Lookback.shakeToRecord(false);
    window.Lookback.userIdentifier('some-id-here');
    
    window.Lookback.enteredView('my view name');
}, false);

License

Use of lookback.io Framework subject to terms available on http://lookback.io

cordova-lookback's People

Contributors

nevyn-lookback avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cordova-lookback's Issues

No UI when shakeToRecord is enabled

Install lookback with cocoapods and you get 2 options menus appear when you 'shake to record'. These are not visible when you use this plugin - why is that? (see left & right icons in image)

expected:
iphone5c-with-lookback

actual:
screen shot 2014-09-15 at 14 59 31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.