On localhost:8100
with ionic serve
command, app is calling json
data via web api
(asp.net core backend that enabled CORS with origins http://localhost:8100) which is working fine.
Now, I tested with both devapp on galaxy 9 and android
emulator (ionic
cordovaemulate android
). Both shows the app's layout, but it does not fetch json data.
Does anyone know what the problem is or how to debug it on devapp
/android
emulator
like I can do it on browser's console?
Use chrome://inspect/#devices
to debug Android devices/emulators and check below:
Check here official information for how to use chrome inspect devices.