# hyhc-mobile_interface

> 将移动端注入到页面上的接口采用 Promise 封装，同时处理了 IOS 与 Android 设备上的一些差异，以方便开发者调用。

Latest version **2.2.0** (published 2017-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install hyhc-mobile_interface
pnpm add hyhc-mobile_interface
yarn add hyhc-mobile_interface
bun add hyhc-mobile_interface
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2017-10-12 |
| First published | 2017-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Wanli |
| Maintainers | keyu |

## Links

- npm: https://www.npmjs.com/package/hyhc-mobile_interface
- npm.io page: https://npm.io/package/hyhc-mobile_interface

## Dependencies (1)

- [es6-promise](https://npm.io/package/es6-promise.md) ^4.0.5

## Recent versions

- 2.2.0 (latest) — 2017-10-12

## README

# 移动端接口
将移动端注入到页面上的接口采用 Promise 封装，同时处理了 IOS 与 Android 设备上的一些差异，以方便开发者调用。

## 基本使用
```js
import { mobileInterface } from '@hyhc/mobile_interface';

mobileInterface.showToast('Hello World!');
```

## 导出的模块
- **File** 选择、上传移动设备中的文件，以及从远程服务器上下载文件到本地。
- **Geology** 获取设备位置信息。
- **QR** 扫描二维码。
- **UserSelector** 从组织架构中选择用户。
- **mobileInterface** 包含一些不需要用户交互的接口。

---
_Source: https://npm.io/package/hyhc-mobile_interface · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
