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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -