# react-native-open-settings-devices

> The library is used to open settings for platform Android and IOS, and it uses for React Native

Latest version **1.0.2** (published 2024-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-open-settings-devices
pnpm add react-native-open-settings-devices
yarn add react-native-open-settings-devices
bun add react-native-open-settings-devices
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2024-02-26 |
| First published | 2023-06-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 16.0.0 |
| Dependencies | 0 |
| Unpacked size | 35.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Trai Nguyen |
| Maintainers | votrai123 |
| Keywords | react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-open-settings-devices
- Repository: https://github.com/votrai123/react-native-open-settings-devices
- Homepage: https://github.com/votrai123/react-native-open-settings-devices#readme
- Issues: https://github.com/votrai123/react-native-open-settings-devices/issues
- npm.io page: https://npm.io/package/react-native-open-settings-devices

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2024-02-26
- 1.0.1 — 2023-06-03
- 1.0.0 — 2023-06-03

## README

# react-native-open-settings-devices


The library is used to open settings for platform Android and IOS, and it uses for React Native

## Installation


```other
npm install react-native-open-settings-devices
```


Or:

```other
yarn add react-native-open-setting-devices
```


## Usage

1. Use to open setting platform **Android** and **IOS**

```other
import { openSettings, ESettings } from 'react-native-open-settings-devices';


// Example
openSettings(ESettings.GENERAL);
```

2. Use to open location service for **Android**

```other
import { locationSettings } from 'react-native-open-settings-devices';

// Example
locationSettings();
```

3. Use to check location service enable for **IOS**

```other
import { checkAllowLocationServices } from 'react-native-open-settings-devices';

// Example

const openLocationSettins = async () => {
	const result = await checkAllowLocationServices(); 
	return result;
}

```


## Example 


***ANDROID***
![Example for android](images/android.gif)

***IOS***

![Example for ios](images/ios.gif)

## Related

For IOS: https://gist.github.com/deanlyoung/368e274945a6929e0ea77c4eca345560


## Contributing


See the contributing guide 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)

---
_Source: https://npm.io/package/react-native-open-settings-devices · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
