Posts by hnrqss • 74 points
7 posts
-
1
votes1
answer1020
viewsA: Input field with floating label design and mask
I believe you can replace Textinput with your Textinputmask import React, { Component } from 'react'; import { View, StatusBar, TextInput, Text } from 'react-native'; class FloatingLabelInput…
react-nativeanswered hnrqss 74 -
0
votes2
answers497
viewsA: Check Box is not unchecking when clicked again - React Native
I think that lib doesn’t work or wouldn’t work on Ios if that’s where you’re testing it. I remember that when I needed to do it myself I created the Component, the idea is very simple is a (square,…
-
0
votes1
answer34
viewsA: Image does not get larger than 40x40 pixels
There is a proposal in the Image called resizeMode https://facebook.github.io/react-native/docs/image But it may also be that your Komponent Marker has a maximum size too for you to check this you…
-
1
votes2
answers1558
viewsA: Possible Unhandled Promise Rejection (React Native (HOOKS))
This Warning is why you are using the await without a try cacth useEffect(() => { async function loadReports() { try { const response = await api.get('/reports'); console.log(response.data); }…
-
0
votes2
answers446
viewsA: Response.data returns empty array (React Nativ(HOOKS))
When you make this request in Postman or Insomnia the answer comes empty too? Shows your class api, but is probably problem in your backend.
-
0
votes1
answer178
viewsA: Asyncstorage with dynamic keys does not save values
Hello! It’s not ideal for you to put async in the componentDidMount you could create an asynchronous function and call it in. I believe the error is due to: person.key = inKey; I think this result…
-
0
votes1
answer827
viewsA: undefined is not a function-Undefined is not a Function/React Native
Substitute const { currentRegion, setCurrentRegion } = useState(null) for: const [ currentRegion, setCurrentRegion ] = useState(null)…