fix: replace deprecated SafeAreaView with react-native-safe-area-context to remove deprecation warnings and to ensure future compatibility.#129
Conversation
|
Hello Sir 👋, I’ve submitted this PR to replace the deprecated SafeAreaView with react-native-safe-area-context to remove deprecation warnings and maintain compatibility with future React Native versions. |
|
Hi! The workflow failed because forked PRs don't have permission to publish coverage reports (missing write permissions for checks). My code changes are not affected. I'm genuinely interested in contributing here—please let me know if you need anything from me. Thanks! |
Yes, that is correct. Thanks for creating this pull request! |
Summary
Replaces the deprecated
SafeAreaViewfromreact-nativewithSafeAreaViewfromreact-native-safe-area-context.This removes deprecation warnings and ensures compatibility with future React Native versions.
Motivation and Context
React Native's built-in
SafeAreaViewis deprecated and will be removed in future releases.Using
react-native-safe-area-contextprovides the recommended replacement and avoids runtime warnings.Dependencies
Fixes
###Type of change
###How Has This Been Tested
###Checklist