React Native with PHP

Asked

Viewed 361 times

0

Good night to you all!

I have an app developed in React Native and I am consuming an API made in PHP, however the file of this API is in my machine, it is not in any server. When I upload my app to the playstore, I’ll have to upload the PHP files to a server?

  • 1

    yes......................

  • 1

    As for this point be professional and not closed hand, hire a hosting company.

1 answer

2


YES AND NO.

YES, because it’s more convenient, since the form of connectivity will be much easier, with you registering a domain, buying a hosting, and directing the APP calls to this structure.

NO, if you have the network structure of your home with the by 80 of your modem or router released on port 80/443 or similar (which does not always happen on account of the operators), then you point your IP if it is fixed, or put a DNS, purchased or free, this requires searches...

I recommend the yes way, because it is more practical and in my opinion, more correct.

Good luck!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.