Skip to content

Commit

Permalink
feat: 1.0.2 README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
krmao committed Mar 5, 2024
1 parent 8a2a8c2 commit 934b05f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# react-native-screenshot-url

[![npm version](https://badge.fury.io/js/react-native-screenshot-url.svg)](https://badge.fury.io/js/react-native-screenshot-url)

## Install

```shell
yarn add react-native-screenshot-url
```

## Usage
```typescript
import ScreenShotUtil, { CallbackInfo } from 'react-native-screenshot-url';

Expand All @@ -15,3 +24,14 @@ useEffect(() => {
};
});
```

## Features

- support 22 - 32 permissions about images and videos
- support Android API level 33 permissions about images and videos
- startListener without permission
- permission request is built-in before callback

## Reference

- https://github.com/bigzx/react-native-screen-capture
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-screenshot-url",
"version": "1.0.1",
"version": "1.0.2",
"description": "获取系统截屏事件与获取当前屏幕截屏",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 934b05f

Please sign in to comment.