Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add error handling for API requests #79

Merged
merged 2 commits into from
May 30, 2024

Conversation

iuricmp
Copy link
Contributor

@iuricmp iuricmp commented May 28, 2024

This pull request adds error handling for API requests in multiple files. It includes the addition of the Alert component from the react-native library to display error messages when fetching posts or registering an account. This will improve the user experience by providing feedback in case of errors.

iuricmp added 2 commits May 28, 2024 12:34
Signed-off-by: Iuri Pereira <689440+iuricmp@users.noreply.github.com>
Signed-off-by: Iuri Pereira <689440+iuricmp@users.noreply.github.com>
@iuricmp iuricmp requested review from jefft0 and D4ryl00 May 29, 2024 08:16
Copy link
Contributor

@jefft0 jefft0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Android and iOS simulators.

@iuricmp iuricmp merged commit 95cb3ea into gnoverse:main May 30, 2024
@iuricmp iuricmp deleted the chore/error-handler branch May 30, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants