Skip to content

Commit

Permalink
General cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis committed Aug 18, 2023
1 parent abaccbd commit 8749982
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Plugin.Maui.Pedometer.Sample</RootNamespace>
<UseMaui>true</UseMaui>
Expand All @@ -30,11 +27,6 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net7.0-ios'">
<CodesignKey>Apple Development: Created via API (GAC3PB2W36)</CodesignKey>
<CodesignProvision>VS: WildCard Development</CodesignProvision>
</PropertyGroup>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
Expand Down
1 change: 0 additions & 1 deletion src/Plugin.Maui.Pedometer/Pedometer.net.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

partial class FeatureImplementation : IPedometer
{
// TODO Implement your .NET specific code.
// This usually is a placeholder as .NET MAUI apps typically don't run on .NET generic targets unless through unit tests and such
public bool IsSupported => false;

Expand Down
1 change: 0 additions & 1 deletion src/Plugin.Maui.Pedometer/Pedometer.windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public FeatureImplementation()
//pedometer = new Windows.Devices.Sensors.Pedometer();
}

// TODO Implement your Windows specific code
public bool IsSupported => !string.IsNullOrEmpty(Windows.Devices.Sensors.Pedometer.GetDeviceSelector());

public bool IsMonitoring { get; private set; }
Expand Down
15 changes: 6 additions & 9 deletions src/Plugin.Maui.Pedometer/Plugin.Maui.Pedometer.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0</TargetFrameworks>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand All @@ -17,19 +14,19 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>

<!-- NuGet -->
<Authors>author</Authors>
<Copyright>Copyright © author and contributors</Copyright>
<Authors>jfversluis</Authors>
<Copyright>Copyright © jfversluis and contributors</Copyright>
<IsPackable>True</IsPackable>
<PackageProjectUrl>https://github.com/jfversluis/Plugin.Maui.Pedometer</PackageProjectUrl>
<RepositoryUrl>https://github.com/jfversluis/Plugin.Maui.Pedometer</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>dotnet-maui;maui;plugin;</PackageTags>
<PackageTags>dotnet-maui;maui;plugin;pedometer;step counter</PackageTags>
<IncludeSymbols>True</IncludeSymbols>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Title>.NET MAUI Feature Plugin</Title>
<Description>Plugin.Maui.Pedometer provides the ability to do this amazing thing in your .NET MAUI application.</Description>
<Title>.NET MAUI Pedometer Plugin</Title>
<Description>Plugin.Maui.Pedometer provides the ability to read the device pedometer in your .NET MAUI application.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<DebugType>portable</DebugType>
Expand Down

0 comments on commit 8749982

Please sign in to comment.