If you are stuck with the behaviour that It is working while i run the app but after making production build API calls are not working, then you have to stop here and read this article. First please note you are calling APIs with HTTP without HTTPS url. Android after…