I am using Expo to build my mobile app. For now, I’m developping locally, and I am using Python for my backend.
My backend is running on 127.0.0.1 and Expo is running on 192.168.0.13. As a consequence, I have some CORS policy issues for some requests. For dev, I can easily solve this problem by using Expo on 127.0.0.1. However, I know that I’m going to have issues when I will deploy my expo app as the domain won’t be the same as for my backend that will be hosted on AWS.
Thus, my question is: How do you manage this with expo? If I have a backend at the adress 77.XXX.XX , how will I solve my CORS policy issues?