Skip to main content
1 vote
1 answer
38 views

I am currently working on the capstone for my course, but I have to use multiple async functions. I need to use AsyncStorage, SQLite storage, and fetching from a REST API. The issue I am encountering ...
Abraham Guerrero's user avatar
3 votes
0 answers
680 views

I'm creating a typing race game with React Native which is producing an unexpected bug on Android. When the user finishes typing a word/spacebar, I set the input state to an empty string. However, if ...
Aria's user avatar
  • 43
0 votes
1 answer
990 views

I've a parent-child component structure, where parent fetches data to be displayed and child component displays the data. I want to update parent's state from child component. I'm sending a handler ...
SJaka's user avatar
  • 860
0 votes
1 answer
2k views

I have a textinput like this: <TextInput secureTextEntry={true} autoCompleteType="password" onChangeText={val => setClave(val)} /> and the component ...
Pepopig's user avatar
  • 63
0 votes
1 answer
1k views

I know that it has been asked several times, but in all the other threads the problem is that the author is manipulating the state directly - which I don't (hopefully). I've got an array of posts that ...
RedYoel's user avatar
  • 313
1 vote
1 answer
1k views

I have a screen in react native for android. I wanted to do some operation when particular screen(implemented in react-native) alone resumes as like fragment's onresume() in java/kotlin How shall i ...
Happy's user avatar
  • 1,091
0 votes
2 answers
498 views

I'm learning react native. I didn't figure out this problem. I have been using functional component in my project. Here is i don't understand to convert class component state : constructor(props) { ...
Золбоо О''s user avatar
1 vote
1 answer
692 views

I have occured this problem on my project.I really confused what I'm gonna do.
Золбоо О''s user avatar
3 votes
2 answers
164 views

I'm trying to make a TicTacToe game for an android app. The TicTacToe's game mode that I'm intended to make is Human-vs-Computer. But the problem is the program did not update the switching-procedure (...
BunnyHOPE's user avatar
0 votes
1 answer
687 views

I am using react native with typescript, and I wanted to update my style property from the state. But it is giving me error. const [VerifiedCheck, setIsVerifiedCheck] = useState("flex"); &...
pratteek shaurya's user avatar
0 votes
1 answer
902 views

I try to save the tasks in my ToDo app with AsyncStorage so that they can be retrieved after an app restart. So far I have managed to save the tasks. However, an empty array is always saved in the ...
Henning's user avatar
0 votes
2 answers
61 views

what's seems to be the problem in my code, i am createing a firestore & firebase based Application. Till now everything working fine but Now i want to add a unique key starting from 1 and then ...
Muhammad Arsalan's user avatar
3 votes
0 answers
380 views

I'm working on a messaging app with the following code: const MessageCentral = () => { const [inputText, onChangeText] = useState(''); const [bodyText, updateText] = useState(""); ...
Ulysses's user avatar
  • 27
1 vote
2 answers
2k views

I want to test that user should not navigate to any other screen if TextInput equals to "". I have tried to put console logs to understand more correctly but the problem is now that, after ...
Oğuzhan Atalay's user avatar
0 votes
0 answers
268 views

I am using react-navigation and when a user logs in, it redirects to Home screen. However, when I go back to Login, I can see the state is not reset. Basically, it is keeping state the same as I left ...
showtime's user avatar
  • 1,462

15 30 50 per page