<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
    xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
    xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
    IgnorableNamespaces= "uap mp">
  <Identity Name="Microsoft.Windows.FeatureOnDemand.InsiderHub" Publisher="CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="10.0.10586.0" ResourceId="neutral" />    
  <mp:PhoneIdentity PhoneProductId="10b58ce6-5c96-4671-91da-554da06b83e7" PhonePublisherId="95d94207-0c7c-47ed-82db-d75c81153c35" />
  <Properties>
    <DisplayName>ms-resource:AppStoreName</DisplayName>
    <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
    <Logo>Assets\InsiderHubAppList.png</Logo>
  </Properties>
  
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
  </Dependencies>
  <Resources>
    <Resource Language="en-us" />
  </Resources>
    
  <Applications>
    <Application Id="App" 
                 Executable="PilotshubApp.exe" 
                 EntryPoint="Microsoft.InsiderHub.App">
      <uap:VisualElements DisplayName="ms-resource:AppStoreName" 
                          Square150x150Logo="Assets\InsiderHubMedTile.png" 
                          Square44x44Logo="Assets\InsiderHubAppList.png" 
                          Description="ms-resource:AppDescription" 
                          BackgroundColor="transparent">
        <uap:DefaultTile ShortName="ms-resource:AppStoreName" Square71x71Logo="Assets\InsiderHubSmallTile.png" Square310x310Logo="Assets\InsiderHubLargeTile.png" Wide310x150Logo="Assets\InsiderHubWideTile.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo" />
            <uap:ShowOn Tile="wide310x150Logo" />
            <uap:ShowOn Tile="square310x310Logo" />
          </uap:ShowNameOnTiles>
        </uap:DefaultTile>
        <uap:SplashScreen Image="Assets\InsiderHubSplashWideTile.png" BackgroundColor="transparent" />
      </uap:VisualElements>
      <Extensions>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="insiderhub">
            <uap:Logo>Assets\InsiderHubAppList.png</uap:Logo>
            <uap:DisplayName>Insider Hub</uap:DisplayName>
          </uap:Protocol>
        </uap:Extension>
        <Extension Category="windows.preInstalledConfigTask" EntryPoint="PilotsHubApp.BackgroundWorker.PreinstallBackroundTaskDesktop" />
        <Extension Category="windows.backgroundTasks" EntryPoint="PilotsHubApp.BackgroundWorker.PreinstallBackroundTaskDesktop">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
        <Extension Category="windows.backgroundTasks" EntryPoint="PilotsHubApp.BackgroundWorker.PilotsHubBackgroundTasks">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
        <Extension Category="windows.backgroundTasks" EntryPoint="PilotsHubApp.BackgroundWorker.BuildNotifierBackgroundTask">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
        <Extension Category="windows.backgroundTasks" EntryPoint="PilotsHubApp.BackgroundWorker.ToastBackgroundTask">
          <BackgroundTasks>
            <Task Type="systemEvent" />
          </BackgroundTasks>
        </Extension>
      </Extensions>
    </Application>
  </Applications>
  <Capabilities>
    <Capability Name="internetClient" />
    <Capability Name="privateNetworkClientServer" />
    <uap:Capability Name="enterpriseAuthentication" />
  </Capabilities>
  <Extensions>
    <Extension Category="windows.activatableClass.proxyStub">
      <ProxyStub ClassId="6847e256-d8b6-470c-943d-6834b0ddf864">
        <Path>PilotsHub.NativeHelper.dll</Path>
        <Interface InterfaceId="e1e0b342-3413-4ee7-a1a1-a97f7b19e4e4" Name="IFlightInformation" />
        <Interface InterfaceId="cadc300f-476e-4bdb-bd3f-ac05f3e8fa4a" Name="IInsiderHubBrokerProxy" />
	<Interface InterfaceId="9b9ad889-bf64-4e12-b894-b357eb5e9585" Name="IFlightSettingsBrokerProxy" />
      </ProxyStub>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>CLRHost.dll</Path>
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.AuthenticationService" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.BuildNotifierBackgroundTask" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.PreinstallBackroundTaskMobile" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.ToastBackgroundTask" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.PilotsHubBackgroundTasks" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="PilotsHubApp.BackgroundWorker.PreinstallBackroundTaskDesktop" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>PilotsHub.NativeHelper.dll</Path>
        <ActivatableClass ActivatableClassId="PilotsHub.NativeHelper.UTCStatsProvider" ThreadingModel="both"/>
        <ActivatableClass ActivatableClassId="PilotsHub.NativeHelper.FlightInformation" ThreadingModel="both"/>
        <ActivatableClass ActivatableClassId="PilotsHub.NativeHelper.NativeWrapper" ThreadingModel="both"/>
        <ActivatableClass ActivatableClassId="PilotsHub.NativeHelper.InsiderHubBrokerProxy" ThreadingModel="both"/>
        <ActivatableClass ActivatableClassId="PilotsHub.NativeHelper.FlightSettingsBrokerProxy" ThreadingModel="both"/>
      </InProcessServer>
    </Extension>
  </Extensions>
</Package>