Posts Tagged dependency service
Sometimes you need to detect if you are using simulator (emulator) or real device, typical example can be the situation when you are running the webservices used by your application on the same computer where you are running simulator and you would like quickly check how it is working altogether.
There are separate solutions for iOS here:
And for Android here:
I just gathered them altogether and created dependency service for Xamarin.Forms application