From 188caa04e7fc1f6bf6cf78cc672fba3a08ee70b3 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 15 Jul 2025 08:56:06 -0700 Subject: [PATCH] Clarify the deprecation message for react-native-safe-area-context (#52589) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52589 The correct url for react-native-safe-area-context is: https://github.com/AppAndFlow/react-native-safe-area-context the former would still work through a redirect but let's be explicit here. Changelog: [Internal] [Changed] - Reviewed By: huntie Differential Revision: D78272667 fbshipit-source-id: dd8c2d6bf7e8c97e18f260e669e305734d657a51 --- packages/react-native/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/index.js b/packages/react-native/index.js index c737c93a6dc..08b63a4695a 100644 --- a/packages/react-native/index.js +++ b/packages/react-native/index.js @@ -86,14 +86,14 @@ module.exports = { /** * @deprecated SafeAreaView has been deprecated and will be removed in a future release. * Please use 'react-native-safe-area-context' instead. - * See https://github.com/th3rdwave/react-native-safe-area-context + * See https://github.com/AppAndFlow/react-native-safe-area-context */ get SafeAreaView() { warnOnce( 'safe-area-view-deprecated', 'SafeAreaView has been deprecated and will be removed in a future release. ' + "Please use 'react-native-safe-area-context' instead. " + - 'See https://github.com/th3rdwave/react-native-safe-area-context', + 'See https://github.com/AppAndFlow/react-native-safe-area-context', ); return require('./Libraries/Components/SafeAreaView/SafeAreaView').default; },