I have a react-native app, and I'm trying to recover the user credentials after the timeout (token expiration). But when I use the function "getGenericPassword()" my app doesn't get the credentials, the app continues running but I can't get the desired values. I get no error or warning from the log. There are no information.
Some additionals about the package.json:
"react-native": "0.61.5"
"react-native-keychain": "5.0.1"
Could someone help me with that?
Thank you in advance!
If someone is stucked here, I solve the problem updating the version from react-native-keychain to 7.0.0 and increasing the compileSdkVersion to 28
Related
How to fix it?
"react-native-payumoney": "^1.0.2"
"react-native": "0.70.1",
pls help,Thanks in advance!
This issue happen after updating react native version.
Pls help i try to fix it last days.
I am facing the error below in the picture when I am trying to build my react-native app on android emulator.
To give more detail it gets stuck in configuring phase when performing:
(:react-native-reanimated > Resolve dependencies of :react-native-reanimated:classpath > gradle-7.3.0.pom)
(By the way, ios simulator works perfectly fine!)
Version of the packages that I am using:
"react-native": "0.70.1",
"react-native-reanimated": "^2.13.0"
Can anyone help me with this?
Well I am going to post the answer myself, but this will only be useful for developers who work in locations in which google services like Android are sanctioned.
The problem was simply my internet connection being unable to download the react-native-reanimated:classpath.
So to solve this issue or any other similar issue in the configuration phase, you have to use a VPN to change the source of request to be able to download the required packages to get your build.
Ive just upgraded react-native-vector-icons from version 7.1 to 8.0......and now Im getting the following error:
unable to resolve module `./tab-bar-item-ios` from `node_modules\react-native-vector-icons\lib\create-icon-set.js`
None of these files exist:
* node_modules\react-native-vector-icons\lib\tab-bar-item-ios(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx).........etc
Im testing on real Android device, using a windows computer.
Any ideas?
It's a cache problem, you can fix it running:
react-native start --reset-cache
Created this account just to answer your question hehe, i know how frustrating those errors can be.
Did you use caret(^) when specifying version of react-native-vector-icons?
I had same error message and it worked for me after removing '^'
"react-native-vector-icons": "^8.0.0" => "react-native-vector-icons": "8.0.0"
I'm getting the below mentioned error when i try run application in the web mode.
/node_modules/expo/build/Notifications/Notifications.js
Module not found: Can't resolve 'react-native-web/dist/exports/AsyncStorage' in '/Users/i322865/node_modules/expo/build/Notifications'
I'm using the latest expo(0.36, same error i faced when i was using 0.35 version as well) and react native web 0.12.0-rc.1. Please help to solve this issue and let me know if you require any further details.
This module (AsyncStorage) is not available on react-native-web : ^0.12.
If you need to use the AsyncStorage you can use the version: "react-native-web": "0.11.7",
PS: you can check updates on that subject at this issue: https://github.com/necolas/react-native-web/issues/1515
The official position is:
Use 0.11 until the community packages add web support.
They've known this was coming for 9 months react-native-community/async-storage#52
Regards
I've been having an error when trying to run/test my react-native application on my mobile device. The error seems to be originating from aws-sdk as below:
Is anyone familiar with this error and knows how to fix it?
react-native: 0.45.1
aws-sdk: 2.223.1
Check out https://github.com/aws/aws-sdk-js/issues/1748#issuecomment-392040722
After much attempts with the latest release i was able to get v2.224.1 working. I use react native v0.44.1.