Posts by Joao Pedro Oliveira • 1 point
4 posts
-
0
votes1
answer54
viewsA: Firebase stopping the iteration of foreach
I decided to make the function stay async: Object.entries(data).forEach( async ([key, value]) => { var event = { id: key, title: Object.getOwnPropertyDescriptor(value, "eventTitle").value,…
-
0
votes2
answers904
viewsA: Styling the page header with createAppContainer and createMaterialTopTabNavigator
const mainNavigation = createMaterialTopTabNavigator( { 'Negócios': { screen: Business, navigationOptions: { //opcoes dessa pagina tabBarOptions: { ... } } }, 'Contato': { screen: Contact },…
-
0
votes1
answer54
viewsQ: Firebase stopping the iteration of foreach
Goal: I’m trying to make an array of objects containing 3 information: id, title and imageUri. But when taking the value of imageUri firebase(a download URL), the foreach hangs. Error:[Unhandled…
-
-1
votes1
answer689
viewsQ: Navigate between different batteries in React Native with React-navigation
Objective: Navigate the screen Loginscreen screen Mainscreen Route code in Routes.js: const AuthenticationNavigator = createStackNavigator({ Login: { screen: LoginScreen, navigationOptions: { title:…