-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
403 Forbidden #34
Comments
Well, you remember, Expo isn't officially supported (#8, #19). I bet, with the regular Android build example app works fine with last release (I just double-checked it): Anyway, what you shared so far sounds like the server per se works fine. Are you actually running the example app as is? Because, my first guess would be that you accessing |
Hello @birdofpreyru, after your reply and analysing the example code, I noticed that in the Expo generated android files, it was missing the following config in
After adding this, it worked fine. :) Now I see the same as you sent in your screenshot. |
Hello, after following the example project, I managed to make the server work.
But now I am getting an error
403 Forbidden
on the webview for Android.My project logs (following the example project) are the following:
I checked the
origin
state and the uri ishttp://localhost:34797
.I tried to add to the webview:
I also changed the assets files/folder to
chmod 777
.But no success.
I am currently using Expo and had to install the library
react-native-fs
so the project would work. Usually we useexpo-file-system
, not sure if this is related or not.If I set the property in the server to
nonLocal: true
and try to open in the browser and the same error 403 appears.How can I solve this problem?
The text was updated successfully, but these errors were encountered: