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.
Please see the official fork over at https://github.com/lookback/cordova-lookback
Most of the functionality of the Lookback class has been implimented.
call this first, once, and after device ready.
true|false
Some unique per-device identifier, or set to deviceName
to use the currentDevice name as assigned by iOS. ([[UIDevice currentDevice] name]);
true|false
pass in a view name
pass in a view name
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);
Use of lookback.io Framework subject to terms available on http://lookback.io