Ionic Framework Mobile Application not updating

I created an android application using ionic framework and . When I tried to serve it in the browser (laptop and mobile) it works. BTW, it’s just a basic realtime photo upload. I use my wifi address since my backend (node listens to port 8000). My problem is when I build the application and install the apk to my android phone, realtime upload is not working. It the mobile (apk) can
upload but it is not syncing to my laptop. But when I try again using the mobile browser, it’s working perfectly. How can I fix this?