An open API service indexing awesome lists of open source software.

https://github.com/numandev1/react-native-process-text-intent

Get text from android android.intent.action.PROCESS_TEXT intent-filter
https://github.com/numandev1/react-native-process-text-intent

intent-filter process process-text processtext text

Last synced: about 1 year ago
JSON representation

Get text from android android.intent.action.PROCESS_TEXT intent-filter

Awesome Lists containing this project

README

          

# react-native-process-text-intent

Get text from android `android.intent.action.PROCESS_TEXT` intent-filter

# Demo

## Installation

```sh
npm install react-native-process-text-intent
```

## Usage

```js
import { getProcessTextIntent } from 'react-native-process-text-intent';

// ...

getProcessTextIntent()
.then((textResult) => {
if (textResult) {
console.log(textResult, 'ProcessedText'); // here will be your processed Text coming from android.intent.action.PROCESS_TEXT intent-filter
}
})
.catch((error) => {
console.log(error);
});
};
```

first you need to add this `intent-filter` in `AndroidManifest.xml`

```xml



```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)