JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q55556F
  • License MIT

Hybrid Flutter Javascript SDK

Package Exports

  • hybrid_plus
  • hybrid_plus/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hybrid_plus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hybrid Flutter JS-SDK

通过使用 Hybrid Flutter JS-SDK,轻应用开发者可高效地使用相机、蓝牙、位置、人脸或指纹认证等手机系统的能力,同时可以直接使用分享、扫一扫及选择人员等定制能力,为用户提供更优质的应用使用体验。

特性:

  • 🌊 所有异步接口均支持Promisecallback的调用方式;
  • 💪 基于TypeScript编写,质量优良、提示完善;
  • 🎉 内含 10+ 个功能模块,轻松应付各种业务需求。

安装及使用

基于npm包的方式引入:

npm install hybrid_plus --save 
# yarn add hybrid_plus

使用:

import * as hybrid from 'hybrid_plus';

// 初始化 sdk
hybrid.init({
  debug: true,
  timeout: 20000,
});

// 获取用户 Ticket
hybrid.auth.getUserTicket().then(res => {
  console.log(res); 
}).catch();

TODO

  1. 应用内通知
  2. 系统通知
  3. 图片剪裁

License

MIT.