Opening exp://192.168.100.9:8081
on SM_M115F[phone name]
this is what I get as the name but then the configuration doe snot accept exp
localhost
What do you mean?
so that is the URL that comes when I start the expo server
I am insinuating that, its probably the hostname
this means that we dont need axios
we can talk to the server functions by using the sdk
Axios?
Yes
its an npm library like fetch web api
Appwrite is the full backend. You don't need something else. It includes everything to work with it
Not needed if you're using the SDK
what of this
this is very cool .. team did a good work then
Then instead of adding localhost in platforms section, you will need to add such IP
does it need the IP of the phone rendering the react native code or the PC
When working locally with Expo React Native, you're often using Expo's development server which typically runs on your local machine. The hostname you'd use for Appwrite when working with a locally connected phone would generally be your machine's local IP address.
You can usually find your machine's local IP address through your system settings or by running a command in your terminal or command prompt. For example, on Windows, you can use the ipconfig command, and on macOS or Linux, you can use ifconfig or ip addr commands.
Once you've obtained your local IP address, you can use that IP as the hostname when setting up your Appwrite project. For instance, if your local IP address is 192.168.1.10, you would set 192.168.1.10 as the hostname for your Appwrite project.
Remember, using your local IP as the hostname in your Appwrite project settings allows your Expo app running on a connected device to communicate with the Appwrite backend while in development mode.
from chatGPT
yet to try it .. then we can use it to help others
Not sure, maybe the phone
You could try and if it gives you a CORS error, you can try with the PC
what chatgpt is saying is that I need to use the IP of the pc and then because the phone is connected it would work
If you're accessing the PC through the phone, yes. If you're hosting it directly in the phone, then phone IP
Recommended threads
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...