Skip to content

Commit f9e33a1

Browse files
authored
♻️ Replace react-native SafeAreaView (#949)
* ➕ Install `react-native-safe-area-context` * ♻️ Replace deprecated `SafeAreaView` * 💥 Update react-native peerDependency
1 parent 1e8c307 commit f9e33a1

File tree

4 files changed

+4276
-4037
lines changed

4 files changed

+4276
-4037
lines changed

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,8 @@
4242
},
4343
"homepage": "https://github.com/carloscuesta/react-native-error-boundary",
4444
"peerDependencies": {
45-
"@types/react-native": ">=0.57.7",
4645
"react": ">=16.6.0",
47-
"react-native": ">=0.57.7"
48-
},
49-
"peerDependenciesMeta": {
50-
"@types/react-native": {
51-
"optional": true
52-
}
46+
"react-native": ">=0.74.0"
5347
},
5448
"devDependencies": {
5549
"@babel/core": "^7.28.4",
@@ -124,5 +118,8 @@
124118
"lint-staged": {
125119
"**/*": "prettier --write --ignore-unknown"
126120
},
127-
"packageManager": "[email protected]"
121+
"packageManager": "[email protected]",
122+
"dependencies": {
123+
"react-native-safe-area-context": "5.6.1"
124+
}
128125
}

0 commit comments

Comments
 (0)