Mobile app not displaying data from database

i tried using sql server 2014 and xampp database. neither of them outputs data from database when published in mobile app. but works completely fine when published in SPA and Desktop app.
i’m using the emulator from android studio

This is because the mobile app does not have access to the api. To properly test for mobile you have to publish you api to live server. Or you preview SPA or PWA on you browser and inspect browser elements for that page and change screen type to mobile,tgat way you can develop fast for mobile and desktop, and then build the app for production when ready.