Question and answer is powered by AnsPress.io
I want to detect the ionic platform in my ionic 3 apps. I want to detect my app has on which platform, so that I want to use if condition. Like that:
if (platform=="IOS") { // display something } if (platform=="android") { // display something }