react-native-country-select 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +3 -6
package/README.md CHANGED
@@ -65,10 +65,16 @@
65
65
 
66
66
  ## Installation
67
67
 
68
- ```sh
69
- npm install react-native-country-select
70
- # or
71
- yarn add react-native-country-select
68
+ To use this library, make sure you have **react-native-country-select** installed along with its required dependency **react-native-safe-area-context**:
69
+
70
+ ```bash
71
+ npm install react-native-country-select react-native-safe-area-context
72
+ ```
73
+
74
+ Since **react-native-safe-area-context** includes native code, you’ll need to install the iOS pods on macOS to complete the linking:
75
+
76
+ ```bash
77
+ npx pod-install ios
72
78
  ```
73
79
 
74
80
  <br>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-country-select",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "🌍 React Native country picker with flags, search, TypeScript, i18n, and offline support. Lightweight, customizable, and designed with a modern UI.",
5
5
  "main": "lib/index.tsx",
6
6
  "types": "lib/index.d.ts",
@@ -39,12 +39,9 @@
39
39
  "publishConfig": {
40
40
  "registry": "https://registry.npmjs.org/"
41
41
  },
42
- "dependencies": {
43
- "react-native-safe-area-context": "*"
44
- },
45
- "devDependencies": {},
46
42
  "peerDependencies": {
47
43
  "react": "*",
48
- "react-native": "*"
44
+ "react-native": "*",
45
+ "react-native-safe-area-context": ">=4.0.0"
49
46
  }
50
47
  }