A way to detect Platforms on Trigger.io
问题 Is there a way to detect what platform the app is running on with Javascript in trigger.io? It looks like in the olden days there was an is.android and is.ios method that have since disappeared. We have some different behaviors we want to apply to the different browsers. 回答1: Yes, the forge.is namespace allows you to detect the platform using JavaScript. To detect if the app is running on an Android device call forge.is.android() To detect if the app is running on an iOS device call forge.is