office js - Outlook Add-in Hostname not getting correctly in Mac -


i working on getting host name identify platform add-in runs. followed provides diagnostic information outlook add-i. return following string in each platform.

var hostname = office.context.mailbox.diagnostics.hostname; 

1.owa - outlookwebapp

2.outlook on windows - outlook

3.outlook on mac - outlook

but documentation says return string can 1 of following values: outlook, mac outlook, outlookios, or outlookwebapp.

for outlook on mac expecting mac outlook or outlookios, returning outlook. expected behavior?

try using office.context.platform differentiate between platforms.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -