New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-scanner-test

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-scanner-test

cordova-plugin-scanner-test

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

cordova-plugin-scanner

setup cocoapod

$ sudo gem update —system
$ sudo gem install cocoapods
$ pod setup

test

$ cd test
$ cordova platform add ios --nosave --nofetch
// variable をオプションをつけなくてもデフォルトの文言入ります。
$ cordova plugin add --link ../ --nosave --variable CAMERA_USAGE_DESCRIPTION='カメラを有効にします'
$ cordova prepare ios
$ cordova build ios
$ cordova emulate ios

メモ

初期化、構築、XCodeを開くを一発でやる

rm -rf platforms/ plugins/ node_modules/ && cordova platform add ios --nosave --nofetch && cordova plugin add --link ../ --nosave --variable CAMERA_USAGE_DESCRIPTION='カメラを有効にします' && cordova prepare ios && open platforms/ios/cordova-plugin-scanner-test.xcworkspace

今できること

現状では、test/www/js/index.jsに記載されているコードのような感じで動くのみとなります.

paramsの値を変えると、コールバック引数の中身も変わっているかと思います。

Scanner.scan(function(data) {
  //success
  window.alert(JSON.stringify(data));
}, function() {
  //error
}, 'params');

scanを押すととりあえずopencvのバージョンが出てきます

Keywords

FAQs

Package last updated on 14 Mar 2018

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