Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@linvix-sistemas/react-native-get-values

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linvix-sistemas/react-native-get-values

Get info.plist or strings.xml values for react native.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@linvix-sistemas/react-native-get-values

Get info.plist or values/strings.xml values for react native.

Remember to add the key you want to recover in the info.plist file on iOS and in res/values/strings.xml on Android.

Installation

yarn add @linvix-sistemas/react-native-get-values

Usage

import { getKeyValue } from '@linvix-sistemas/react-native-get-values';

const result = await getKeyValue('your_key');

Typescript Override avaliable Keys

Create declaration (d.ts) a file with your avaliable keys.

declare module '@linvix-sistemas/react-native-get-values' {
    type AvailableKeys = 'KEY1' | 'KEY2' | 'KEY3';
    export function getKeyValue(key: AvailableKeys): Promise<string>;
}

License

MIT

Keywords

FAQs

Package last updated on 10 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc