You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
haymouz opened this issue
Jul 12, 2019
· 2 comments
Labels
Bug🌐NetworkingRelated to a networking API.Platform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.
Hey guys, I'm currently building a react-native app using expo. It has been running successfully on some android phones for a while not until I tried it on an android phone and it wasn't making network requests. I'm using "FETCH Api" and I clearly don't know why this should be happening.
I don't know if its an android target sdk thing or just a normal configuration thing. I need help
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Oct 10, 2019
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
facebook
locked as resolved and limited conversation to collaborators
Oct 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Bug🌐NetworkingRelated to a networking API.Platform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.
Hey guys, I'm currently building a react-native app using expo. It has been running successfully on some android phones for a while not until I tried it on an android phone and it wasn't making network requests. I'm using "FETCH Api" and I clearly don't know why this should be happening.
I don't know if its an android target sdk thing or just a normal configuration thing. I need help
React Native version:
React Native Environment Info:
System:
OS: Windows 7
CPU: (4) x64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
Memory: 1.46 GB / 5.91 GB
Binaries:
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.0.0.0 AI-171.4443003
Important details in the package.json :
"expo": "^32.0.0",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"@babel/core": "^7.0.0",
"@expo/vector-icons": "^9.0.0",
"babel-polyfill": "^6.26.0",
"expr-eval": "^1.2.1",
Steps To Reproduce
Describe what you expected to happen:
I expected the app to success fully make a fetch request
Snack, code example, or link to a repository:
Here's how the fetch request looks like
fetchUsers = () => {
AsyncStorage.getItem('tellerId').then((token) => {
var RMid= token;
this.setState({ loading: true });
fetch(Url+endpoint+RMid,{
headers: {
'cache-control': 'no-cache',
'content-type': 'application/json',
accept: 'application/json' },
})
});
}
The text was updated successfully, but these errors were encountered: