Posts by Luiz Fernando Sousa Camargo • 234 points
6 posts
-
0
votes1
answer104
viewsA: Login React Native + Firebase error using "Switchnavigator"
First you have to use the createSwitchNavigator and not SwitchNavigator according to the Navigator switch you have to use combining 2 Navigators + switch to make flows from Tools below example of…
-
6
votes1
answer2466
viewsA: Warning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied to `CellRenderer`, expected `string`
Is missing the prop keyExtractor in order to extract the key of each item, for example: <FlatList horizontal={true} ItemSeparatorComponent={() => <View style={{width: 5}} />}…
react-nativeanswered Luiz Fernando Sousa Camargo 234 -
1
votes1
answer863
viewsA: React Native error: Undefined is not a Function
Your mapDispatchToProps it is wrong you have to do so, because the way Voce is doing it will not map the data in the React props : const mapDispatchToProps = (dispatch) => ({ checkLogin: () =>…
-
1
votes3
answers6131
viewsA: How to Save Data with Asyncstorage
Hello, To be able to use async Storage it is necessary to use async/await, that one of the new concepts of ECMA-Script 6 to wait to complete an async action. setAsyncStorage = async (valor) => {…
-
1
votes1
answer346
viewsA: Move scrollview with React button
Hello, You can use the method scrollTo of the Act-Act or the scrollToEnd: scrollTo([y]: 300, object, [animated]: true) scrollToEnd([options]: object) If you have any more questions about a look at…
react-nativeanswered Luiz Fernando Sousa Camargo 234 -
2
votes2
answers952
viewsA: React Native - Navigation + Image
This is a very common error in React-Native and JS itself. For some reason, require() doesn’t work that way. You can do as below to popular an array of objects and make a map to popular the…
react-nativeanswered Luiz Fernando Sousa Camargo 234