From 15dad715eee87c5b4f3b8a51c39d69e46799adbb Mon Sep 17 00:00:00 2001 From: "Philip (flip) Kromer" Date: Thu, 22 Sep 2022 02:04:29 -0500 Subject: [PATCH] chore: bump version, add contributor names --- README.md | 16 +++++++++++++--- package.json | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f679f230..cbc21b5d 100644 --- a/README.md +++ b/README.md @@ -140,11 +140,19 @@ export default function App() { - `disableNativeModal?`: boolean (you have to wrap your all app with CountryModalProvider) - `preferredCountries`: [CountryCode](https://github.com/xcarpentier/react-native-country-picker-modal/blob/master/src/types.ts#L254) preferred countries they appear first (`withAlphaFilter` must be false) +### Caveats + +Dynamically changing the translation, excludeCountries, and some other +props that affect the country list may give inconsistent results. In +particular, the search index is only calculated on first use and so +the changes to new language or different excluded countries will be +inconsistent. + ## Dark theme example -

- react-native-country-picker-modal-dark -

+

react-native-country-picker-modal-dark

A simple example to display a `CountryPicker` component with a dark theme. @@ -181,6 +189,8 @@ YES : It used the world-countries package and image is stored into json and base ## Contribution - [@xcapentier](mailto:contact@xaviercarpentier.com) The main author. +- [@kanimetov](https://github.com/kanimetov) -- Arabic and Hebrew translations. +- [@mrflip](https://github.com/mrflip) -- updated to Expo 46 and minor fixes. ## Questions diff --git a/package.json b/package.json index 0745d170..619baf45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-country-picker-modal", - "version": "2.0.0", + "version": "2.1.0", "description": "react-native country picker", "main": "node_modules/expo/AppEntry.js", "types": "lib/index.d.ts",