React Native proxy for API requests

I want to use a proxy for the API calls.
In package.json I set the property "Proxy": "https://someapi.com", but this does not work. Is it possible to use a proxy in React Native?

Answer

Unfortunately, that is not possible, but and you can set it in your API call. follow this link for more information. you also can do this instruction in Axios interceptor. by doing this you only set it once.