-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Android): Provide access to BaseActivity events from SpanningRec…
…tsExtension
- Loading branch information
1 parent
981ab0d
commit 23cca70
Showing
19 changed files
with
471 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<Project Sdk="MSBuild.Sdk.Extras" ToolsVersion="15.0"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0-android;net6.0-ios</TargetFrameworks> | ||
<TargetFrameworksCI>net6.0-android;net6.0-ios</TargetFrameworksCI> | ||
<AssemblyName>Uno.UI.DualScreen</AssemblyName> | ||
|
||
<TargetFrameworks>$(TargetFrameworks);net6.0-maccatalyst;net6.0-macos</TargetFrameworks> | ||
<TargetFrameworksCI>$(TargetFrameworks);net6.0-maccatalyst;net6.0-macos</TargetFrameworksCI> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageId Condition="'$(UNO_UWP_BUILD)'!='true'">Uno.WinUI.DualScreen</PackageId> | ||
|
||
<NoWarn>$(NoWarn);NU1701</NoWarn> | ||
|
||
<ProduceReferenceAssembly>false</ProduceReferenceAssembly> | ||
<Deterministic>true</Deterministic> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(UnoTargetFrameworkOverride)'!=''"> | ||
<TargetFrameworks>$(UnoTargetFrameworkOverride)</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<Authors>nventive</Authors> | ||
<PackageProjectUrl>https://github.com/unoplatform/uno</PackageProjectUrl> | ||
<PackageIconUrl>https://nv-assets.azurewebsites.net/logos/uno.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/unoplatform/uno</RepositoryUrl> | ||
<Description>This package provides the ability for Uno Platform based apps to use dual screen devices such as the Surface Duo or Neo</Description> | ||
<Copyright>Copyright (C) 2015-2020 nventive inc. - all rights reserved</Copyright> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Uno.UI\Uno.UI.net6.csproj" /> | ||
<ProjectReference Include="..\Uno.UWP\Uno.net6.csproj" TreatAsPackageReference="false" PrivateAssets="all" /> | ||
<ProjectReference Include="..\Uno.Foundation\Uno.Foundation.net6.csproj" TreatAsPackageReference="false" PrivateAssets="all" /> | ||
<ProjectReference Include="..\Uno.UI.BindingHelper.Android\Uno.UI.BindingHelper.Android.net6.csproj" Condition="$(IsMonoAndroid)" TreatAsPackageReference="false" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Uno.SourceGenerationTasks" /> | ||
<PackageReference Include="Uno.Core" /> | ||
<PackageReference Include="Uno.Core.Build" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\Uno.CrossTargetting.props" /> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'=='net6.0-android'"> | ||
<PackageReference Include="Xamarin.DuoSdk" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\SourceGenerators\Uno.UI.SourceGenerators\Content\Uno.UI.SourceGenerators.props" /> | ||
|
||
<Target Name="_UnoDualScreenOverrideNuget" AfterTargets="AfterBuild" DependsOnTargets="BuiltProjectOutputGroup" Condition="'$(UnoNugetOverrideVersion)'!=''"> | ||
|
||
<PropertyGroup> | ||
<_OverrideTargetFramework>$(TargetFramework)</_OverrideTargetFramework> | ||
<_TargetNugetFolder>$(USERPROFILE)\.nuget\packages\Uno.UI.DualScreen\$(UnoNugetOverrideVersion)\lib\$(_OverrideTargetFramework)</_TargetNugetFolder> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<_OutputFiles Include="$(TargetDir)**" /> | ||
</ItemGroup> | ||
<MakeDir Directories="$(_TargetNugetFolder)" /> | ||
|
||
<Message Importance="high" Text="OVERRIDING NUGET PACKAGE CACHE: $(_TargetNugetFolder)" /> | ||
|
||
<Copy SourceFiles="@(_OutputFiles)" DestinationFiles="@(_OutputFiles->'$(_TargetNugetFolder)\%(RecursiveDir)%(Filename)%(Extension)')" /> | ||
<Copy SourceFiles="@(_OutputFilesPDB)" DestinationFiles="@(_OutputFilesPDB->'$(_TargetNugetFolder)\%(RecursiveDir)%(Filename).pdb')" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.