I have an add-on working in my computers browser and mobile device for gmail.
I need to know when the add-on is being rendered in the mobile device.
The reason being I already have an extension that does all I need in the browser and the add-on really is only needed for the mobile device (as I can't run the extension in the gmail app).
Any suggestions appreciated
This can be checked using
clientPlatform
property in action event object. Check this for details.