This mobile app combines all projects from the book Learning React Native - Building Native Mobile Apps with JavaScript into a single application. The homepage features navigation buttons to access each individual project, providing a comprehensive and interactive learning experience.
TypeScript and functional components are implemented for a modern approach.
- The
<Image>
component has been replaced with the<ImageBackground />
component because the<Image>
component cannot have children.
- NYTimes API key provided in the example is no longer valid. You'll need to register your own key on NYTimes Developer.
- Replaced deprecated
AsyncStorage
with the community package@react-native-async-storage/async-storage
.
- Global
alert
does not exist in react-native context. Fixed withAlert.alert
. - Replaced deprecated
Geolocation
with the community package@react-native-community/geolocation
. - Cleaned up styling usage.
- Replaced deprecated
CameraRoll
with the community package@react-native-camera-roll/camera-roll
. - Added request for read media permissions and handled fallback to show PhotoBackdropLocalImage if permissions are not granted or no media is available.
- Replaced
<Image>
component with<ImageBackground>
, as mentioned.
- Refactored to satisfy TypeScript.