Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after installing, it says network request failed, what may be the problem ? #5

Closed
uskudaristanbul opened this issue Sep 7, 2018 · 3 comments

Comments

@uskudaristanbul
Copy link

uskudaristanbul commented Sep 7, 2018

This is really a great project, hope you are continuing to develop this,

the problem is :
After dotnet build and dotnet run command, when I enter guest and dotnetify credentials, log in screens is saying Network request failed.

@dsuryd
Copy link
Owner

dsuryd commented Sep 8, 2018

Sounds like it couldn't make connection to the local server. Check your logs, what particular network call it's trying to make and what's the failure code? Also, could it be this issue: dsuryd/dotNetify#114.

@dsuryd dsuryd closed this as completed Oct 29, 2018
@uskudaristanbul
Copy link
Author

uskudaristanbul commented Nov 21, 2018

Hi,
after cloning repository and creating React Native app, do I must change something in codes such as server url ip or something else ?

because server url is pointing another ip that I dont know.

In App.js file in React Native :
const androidEmulatorServerUrl = "http://169.254.80.80:5000";
const liveServerUrl = "http://dotnetify.net";

I couldnt find a reason why React Native App Login screen return "Network request failed" in debug mode/

@dsuryd
Copy link
Owner

dsuryd commented Nov 21, 2018

Did you run an Android emulator?

Also note that this example is outdated and will not work with latest version of dotNetify library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants