Ask your question and get a summary of the document by referencing this page and the AI provider of your choice
Version History
- "Unified documentation for all exports"v8.0.021/01/2026
The content of this page was translated using an AI.
See the last version of the original content in EnglishIf you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.
GitHub link to the documentationCopy doc Markdown to clipboard
react-native-intlayer Package
The react-native-intlayer package provides the necessary tools to integrate Intlayer into React Native applications. It includes a provider and polyfills for locale support.
Installation
Exports
Provider
Open the table in a modal to view all data content clearly
| Component | Description |
|---|---|
IntlayerProvider | Provider component that wraps your application and provides the Intlayer context. |
Import:
Polyfill
Open the table in a modal to view all data content clearly
| Function | Description |
|---|---|
intlayerPolyfill | Function that applies the necessary polyfills for React Native to support Intlayer. |
Import:
Metro Configuration
The react-native-intlayer package provides Metro configuration utilities to ensure that Intlayer functions correctly with React Native.
Open the table in a modal to view all data content clearly
| Function | Description |
|---|---|
configMetroIntlayer | Asynchronous function that prepares Intlayer and merges the Metro configuration. |
configMetroIntlayerSync | Synchronous function that merges the Metro configuration without preparing Intlayer resources. |
exclusionList | Creates a RegExp pattern for Metro's blockList to exclude content files from the bundle. |
Import: