halilb / halilb/react-native-textinput-effects
Throwing multiple exceptions when opening View on Android
- Langage dominant
- JavaScript
- Étoiles
- 3k
- Forks
- 287
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Versions:
`Android 7`
```
"react": "16.0.0-beta.5",
"react-native": "0.49.3",
"react-native-textinput-effects": "^0.4.1"
```
First exception:
```
Exception in native call
com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'backgroundColor' in shadow node of type: AndroidTextInput
```
Then:
```
Error while updating prop backgroundColor
com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `int64', but had type `string'
```
This finally crashes the app:
```
FATAL EXCEPTION: main
Process: com.xxx, PID: 30962
com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag: 94
detail: View tag:100
children(0): [
],
viewsToAdd(1): [
[0,94],
]
```
Android expects colors as int yet somewhow it is passed as a string it seems.
Looks like there is an issue with Animations in Android:
https://github.com/facebook/react-native/issues/13984
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez le crash sur Android 7 avec les versions indiquées de React et React Native, en vous concentrant sur la mise à jour animée de backgroundColor pour AndroidTextInput. Lisez l’issue React Native sur les animations qui est liée et suivez le chemin d’ouverture de View ; c’est terminé lorsque l’application ouvre View sans exceptions de type natif, unknown-view ou fatales.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, javascript, react-native
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100