

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
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- wrong code for google oauth2 ?
gives User (role: guests) missing scope (account) error
