# capacitor-read-native-setting

> A simple plugin to read from Info.plist on iOS and strings.xml on Android

Latest version **8.0.0** (published 2026-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install capacitor-read-native-setting
pnpm add capacitor-read-native-setting
yarn add capacitor-read-native-setting
bun add capacitor-read-native-setting
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2026-07-16 |
| First published | 2020-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 600.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jay Hughes |
| Maintainers | ingage |
| Keywords | capacitor, plugin, native |

## Links

- npm: https://www.npmjs.com/package/capacitor-read-native-setting
- Repository: https://github.com/ingageco/capacitor-read-native-setting
- Homepage: https://github.com/ingageco/capacitor-read-native-setting#readme
- Issues: https://github.com/ingageco/capacitor-read-native-setting/issues
- npm.io page: https://npm.io/package/capacitor-read-native-setting

## Recent versions

- 8.0.0 (latest) — 2026-07-16
- 6.0.0 — 2024-07-22
- 5.0.0 — 2024-04-01
- 3.1.0 — 2023-02-26
- 3.0.2 — 2023-01-30
- 3.0.1 — 2023-01-30
- 3.0.0 — 2023-01-30
- 1.0.1 — 2020-12-19
- 1.0.0 — 2020-12-19
- 0.0.1 — 2020-12-19

## README

# Capacitor Read Native Setting

A simple plugin to read a string from Info.plist on iOS and strings.xml on Android

## Supported platforms

- Android
- iOS

## Installation

Current release

```bash
npm install capacitor-read-native-setting
```

## iOS

Run:
```bash
npx cap sync ios
```

## Android

After you install the plugin, locate your MainActivity.java (can be found in /android/app/src/main/java/path/to/my/app/MainActivity.java)

Import the class and add

```java
// import thhe class
import com.ingageco.readnativesetting.CapacitorReadNativeSetting;

// add class inside bridge activity:
add(CapacitorReadNativeSetting.class);
```

Finally, run:
```bash
npx cap sync android
```

## Importing the Plugin

At the top of your file import Capacitor Plugins and this extract this plugin

```javascript
import { Plugins } from '@capacitor/core';
const { CapacitorReadNativeSetting } = Plugins;
```

## Methods

- Retrieve a string by key
```javascript
CapacitorReadNativeSetting.read({ key: 'STRING_KEY_NAME'})
.then((res) => {
    // print the value of the setting
    // res.value
});

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