i’m developing app which uses a json file it works perfectly in local server but when i upload it to ionic view the json data is not showing up . how can i check json data in ionic view ?? (both ios and android) . even i tried using cordova whitelist plugin but no use …plz someone help me !!
To inspect on iOS :
With emulator :
lauch emulator with Xcode, and then open Safari, click in the Development tab, and then click on your emulator index.html.
With Phone : allow web inspection on device (Safari Parameters), launch app on device, and then open Safari, click in the Development tab, and then click on your device index.html.
To inspect on Android ;
Lauch Chrome console (F12), plug your device in, launch app on device. Then in the chrome console options, click more -> Inspect devices, select your Phone, then click Inspect.
Now you can see the different errors on iOS, or Android. Sorry for Android Emulator, I don’t use it, but the method should be the same.