<?xml version="1.0" encoding="UTF-8"?>
<!--
  Outlook add-in manifest TEMPLATE. Do not upload this file directly:
  run tools/build.py with your site address (see README), which writes
  dist/outlook-manifest.xml with the real addresses filled in.
-->
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
           xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
           xsi:type="MailApp">
  <Id>7d66b614-0ceb-414d-a474-02b08921d827</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>TriPass</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="TriPass Phishing Scanner"/>
  <Description DefaultValue="Checks the open email for phishing. The check runs on your device; email content is never uploaded."/>
  <IconUrl DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-128.png"/>
  <SupportUrl DefaultValue="https://tripass.com.au/support.html"/>
  <AppDomains>
    <AppDomain>https://tripass.com.au</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://tripass.com.au/phishing-scanner/addin/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.3">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="psGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="psButton">
                  <Label resid="ButtonLabel"/>
                  <Supertip>
                    <Title resid="ButtonLabel"/>
                    <Description resid="ButtonTooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon16"/>
                    <bt:Image size="32" resid="Icon32"/>
                    <bt:Image size="80" resid="Icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="TaskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-16.png"/>
        <bt:Image id="Icon32" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-32.png"/>
        <bt:Image id="Icon80" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskpaneUrl" DefaultValue="https://tripass.com.au/phishing-scanner/addin/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="Phishing Scanner"/>
        <bt:String id="ButtonLabel" DefaultValue="Scan email"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="ButtonTooltip" DefaultValue="Check this email for phishing. Runs on your device; the email is never uploaded."/>
      </bt:LongStrings>
    </Resources>

    <!-- 1.1 overrides add Outlook for iOS and Android -->
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.5">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="psGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="psButton">
                    <Label resid="ButtonLabel"/>
                    <Supertip>
                      <Title resid="ButtonLabel"/>
                      <Description resid="ButtonTooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon16"/>
                      <bt:Image size="32" resid="Icon32"/>
                      <bt:Image size="80" resid="Icon80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="TaskpaneUrl"/>
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
          <MobileFormFactor>
            <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
              <Group id="psMobileGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="MobileButton" id="psMobileButton">
                  <Label resid="ButtonLabel"/>
                  <Icon>
                    <bt:Image size="25" scale="1" resid="Icon25"/>
                    <bt:Image size="25" scale="2" resid="Icon48"/>
                    <bt:Image size="25" scale="3" resid="Icon80"/>
                    <bt:Image size="32" scale="1" resid="Icon32"/>
                    <bt:Image size="32" scale="2" resid="Icon64"/>
                    <bt:Image size="32" scale="3" resid="Icon128"/>
                    <bt:Image size="48" scale="1" resid="Icon48"/>
                    <bt:Image size="48" scale="2" resid="Icon128"/>
                    <bt:Image size="48" scale="3" resid="Icon192"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="TaskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon16" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-16.png"/>
          <bt:Image id="Icon25" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-25.png"/>
          <bt:Image id="Icon32" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-32.png"/>
          <bt:Image id="Icon48" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-48.png"/>
          <bt:Image id="Icon64" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-64.png"/>
          <bt:Image id="Icon80" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-80.png"/>
          <bt:Image id="Icon128" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-128.png"/>
          <bt:Image id="Icon192" DefaultValue="https://tripass.com.au/phishing-scanner/icons/icon-192.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="TaskpaneUrl" DefaultValue="https://tripass.com.au/phishing-scanner/addin/taskpane.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="Phishing Scanner"/>
          <bt:String id="ButtonLabel" DefaultValue="Scan email"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="ButtonTooltip" DefaultValue="Check this email for phishing. Runs on your device; the email is never uploaded."/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
