Skip to content

Commit 819713e

Browse files
2 parents 4555418 + 441bb8c commit 819713e

File tree

6 files changed

+140
-132
lines changed

6 files changed

+140
-132
lines changed

sample/Sample/Sample.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
<DebugType>portable</DebugType>
1010
<DebugSymbols>true</DebugSymbols>
1111
</PropertyGroup>
12-
13-
<PropertyGroup>
14-
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
15-
</PropertyGroup>
1612

17-
<ItemGroup>
18-
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
19-
</ItemGroup>
13+
<PropertyGroup>
14+
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
19+
</ItemGroup>
2020

2121
<ItemGroup>
2222
<PackageReference Include="Prism.DryIoc.Forms" Version="8.0.0.1909" />
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<Authors>sebastianstehle</Authors>
4+
<Company>Squidex UG (haftungsbeschränkt)</Company>
5+
<Copyright>MIT</Copyright>
6+
<Description>Notifo SDK for Xamarin - Plugin.FirebasePushNotification integration.</Description>
7+
<PackageId>Notifo.Xamarin.Firebase</PackageId>
8+
<PackageIcon>logo-squared.png</PackageIcon>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<PackageProjectUrl>https://notifo.io</PackageProjectUrl>
11+
<PackageTags>notifo xamarin firebase</PackageTags>
12+
<Version>0.0.1-alpha</Version>
13+
</PropertyGroup>
14+
</Project>

sdk/Notifo.SDK.FirebasePlugin/Notifo.SDK.FirebasePlugin.csproj

Lines changed: 32 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@
55
<LangVersion>8.0</LangVersion>
66
<Nullable>enable</Nullable>
77
<RootNamespace>Notifo.SDK.FirebasePlugin</RootNamespace>
8-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
9-
<Authors>sebastianstehle</Authors>
10-
<Company>Squidex UG (haftungsbeschränkt)</Company>
11-
<Copyright>MIT</Copyright>
12-
<Description>Notifo SDK for Xamarin - Plugin.FirebasePushNotification integration.</Description>
13-
<PackageId>Notifo.Xamarin.Firebase</PackageId>
14-
<PackageIcon>logo-squared.png</PackageIcon>
15-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
16-
<PackageProjectUrl>https://notifo.io</PackageProjectUrl>
17-
<PackageTags>notifo xamarin firebase</PackageTags>
18-
<Version>0.0.1-alpha</Version>
8+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
199
</PropertyGroup>
2010

2111
<ItemGroup>
22-
<None Include="logo-squared.png" Pack="true" PackagePath="\" />
12+
<None Include="logo-squared.png" Pack="true" PackagePath="\" />
2313
</ItemGroup>
2414

2515
<PropertyGroup>
@@ -29,40 +19,40 @@
2919

3020
<ItemGroup>
3121
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
32-
</ItemGroup>
33-
22+
</ItemGroup>
23+
3424
<ItemGroup>
35-
<Compile Remove="**\*.netstandard.cs" />
36-
<Compile Remove="**\*.android.cs" />
37-
<Compile Remove="**\*.ios.cs" />
38-
</ItemGroup>
25+
<Compile Remove="**\*.netstandard.cs" />
26+
<Compile Remove="**\*.android.cs" />
27+
<Compile Remove="**\*.ios.cs" />
28+
</ItemGroup>
3929

40-
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
41-
<Compile Include="**\*.netstandard.cs" />
42-
</ItemGroup>
30+
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
31+
<Compile Include="**\*.netstandard.cs" />
32+
</ItemGroup>
4333

44-
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarinios')) ">
45-
<Compile Include="**\*.ios.cs" />
46-
</ItemGroup>
34+
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarinios')) ">
35+
<Compile Include="**\*.ios.cs" />
36+
</ItemGroup>
4737

48-
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
49-
<Compile Include="**\*.android.cs" />
50-
</ItemGroup>
38+
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
39+
<Compile Include="**\*.android.cs" />
40+
</ItemGroup>
5141

52-
<ItemGroup>
53-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
54-
<PackageReference Include="Plugin.FirebasePushNotification" Version="3.3.10" />
55-
<PackageReference Include="RefactoringEssentials" Version="5.6.0">
56-
<PrivateAssets>all</PrivateAssets>
57-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
58-
</PackageReference>
59-
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
60-
<PrivateAssets>all</PrivateAssets>
61-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
62-
</PackageReference>
63-
</ItemGroup>
42+
<ItemGroup>
43+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
44+
<PackageReference Include="Plugin.FirebasePushNotification" Version="3.3.10" />
45+
<PackageReference Include="RefactoringEssentials" Version="5.6.0">
46+
<PrivateAssets>all</PrivateAssets>
47+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
48+
</PackageReference>
49+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
50+
<PrivateAssets>all</PrivateAssets>
51+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
52+
</PackageReference>
53+
</ItemGroup>
6454

65-
<ItemGroup>
66-
<ProjectReference Include="..\Notifo.SDK\Notifo.SDK.csproj" />
67-
</ItemGroup>
55+
<ItemGroup>
56+
<ProjectReference Include="..\Notifo.SDK\Notifo.SDK.csproj" />
57+
</ItemGroup>
6858
</Project>

sdk/Notifo.SDK/Directory.Build.props

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<Authors>sebastianstehle</Authors>
4+
<Company>Squidex UG (haftungsbeschränkt)</Company>
5+
<Copyright>MIT</Copyright>
6+
<Description>Notifo SDK for Xamarin</Description>
7+
<PackageId>Notifo.Xamarin.Core</PackageId>
8+
<PackageIcon>logo-squared.png</PackageIcon>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<PackageProjectUrl>https://notifo.io</PackageProjectUrl>
11+
<PackageTags>notifo xamarin</PackageTags>
12+
<Version>0.0.1-alpha1</Version>
13+
</PropertyGroup>
14+
</Project>

sdk/Notifo.SDK/Notifo.SDK.csproj

Lines changed: 65 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,77 @@
11
<Project Sdk="MSBuild.Sdk.Extras/3.0.22">
2-
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.1;xamarinios10;monoandroid10.0;</TargetFrameworks>
4-
<RootNamespace>Notifo.SDK</RootNamespace>
5-
<LangVersion>8.0</LangVersion>
6-
<Nullable>enable</Nullable>
7-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8-
<Authors>sebastianstehle</Authors>
9-
<Company>Squidex UG (haftungsbeschränkt)</Company>
10-
<Copyright>MIT</Copyright>
11-
<Description>Notifo SDK for Xamarin</Description>
12-
<PackageId>Notifo.Xamarin.Core</PackageId>
13-
<PackageIcon>logo-squared.png</PackageIcon>
14-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
15-
<PackageProjectUrl>https://notifo.io</PackageProjectUrl>
16-
<PackageTags>notifo xamarin</PackageTags>
17-
<Version>0.0.1-alpha1</Version>
18-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFrameworks>netstandard2.1;xamarinios10;monoandroid10.0;</TargetFrameworks>
4+
<RootNamespace>Notifo.SDK</RootNamespace>
5+
<LangVersion>8.0</LangVersion>
6+
<Nullable>enable</Nullable>
7+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8+
</PropertyGroup>
199

20-
<ItemGroup>
21-
<None Include="logo-squared.png" Pack="true" PackagePath="\" />
22-
</ItemGroup>
23-
24-
<PropertyGroup>
25-
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
26-
<AssemblyName>Notifo.Xamarin.Core</AssemblyName>
27-
</PropertyGroup>
10+
<ItemGroup>
11+
<None Include="logo-squared.png" Pack="true" PackagePath="\" />
12+
</ItemGroup>
2813

29-
<ItemGroup>
30-
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
31-
</ItemGroup>
14+
<PropertyGroup>
15+
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
16+
<AssemblyName>Notifo.Xamarin.Core</AssemblyName>
17+
</PropertyGroup>
3218

33-
<ItemGroup>
34-
<Compile Remove="**\*.netstandard.cs" />
35-
<Compile Remove="**\*.android.cs" />
36-
<Compile Remove="**\*.ios.cs" />
37-
</ItemGroup>
19+
<ItemGroup>
20+
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
21+
</ItemGroup>
3822

39-
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
40-
<Compile Include="**\*.netstandard.cs" />
41-
</ItemGroup>
23+
<ItemGroup>
24+
<Compile Remove="**\*.netstandard.cs" />
25+
<Compile Remove="**\*.android.cs" />
26+
<Compile Remove="**\*.ios.cs" />
27+
</ItemGroup>
4228

43-
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarinios')) ">
44-
<Compile Include="**\*.ios.cs" />
45-
</ItemGroup>
29+
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
30+
<Compile Include="**\*.netstandard.cs" />
31+
</ItemGroup>
4632

47-
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
48-
<Compile Include="**\*.android.cs" />
49-
</ItemGroup>
33+
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarinios')) ">
34+
<Compile Include="**\*.ios.cs" />
35+
</ItemGroup>
5036

51-
<ItemGroup>
52-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
53-
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="5.0.1" />
54-
<PackageReference Include="Notifo.SDK" Version="1.0.0-beta6" />
55-
<PackageReference Include="Polly" Version="7.2.1" />
56-
<PackageReference Include="RefactoringEssentials" Version="5.6.0">
57-
<PrivateAssets>all</PrivateAssets>
58-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
59-
</PackageReference>
60-
<PackageReference Include="Serilog" Version="2.10.0" />
61-
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
62-
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
63-
<PrivateAssets>all</PrivateAssets>
64-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
65-
</PackageReference>
66-
<PackageReference Include="System.Text.Json" Version="5.0.1" />
67-
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
68-
</ItemGroup>
37+
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
38+
<Compile Include="**\*.android.cs" />
39+
</ItemGroup>
6940

70-
<ItemGroup Condition="'$(TargetFramework)' == 'xamarinios10'">
71-
<PackageReference Include="Serilog.Sinks.Xamarin">
72-
<Version>0.2.0.64</Version>
73-
</PackageReference>
74-
</ItemGroup>
41+
<ItemGroup>
42+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
43+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="5.0.1" />
44+
<PackageReference Include="Notifo.SDK" Version="1.0.0-beta6" />
45+
<PackageReference Include="Polly" Version="7.2.1" />
46+
<PackageReference Include="RefactoringEssentials" Version="5.6.0">
47+
<PrivateAssets>all</PrivateAssets>
48+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
49+
</PackageReference>
50+
<PackageReference Include="Serilog" Version="2.10.0" />
51+
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
52+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
53+
<PrivateAssets>all</PrivateAssets>
54+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
55+
</PackageReference>
56+
<PackageReference Include="System.Text.Json" Version="5.0.1" />
57+
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
58+
</ItemGroup>
7559

76-
<ItemGroup Condition="'$(TargetFramework)' == 'monoandroid10.0'">
77-
<PackageReference Include="Serilog.Sinks.Xamarin">
78-
<Version>0.2.0.64</Version>
79-
</PackageReference>
80-
</ItemGroup>
60+
<ItemGroup Condition="'$(TargetFramework)' == 'xamarinios10'">
61+
<PackageReference Include="Serilog.Sinks.Xamarin">
62+
<Version>0.2.0.64</Version>
63+
</PackageReference>
64+
</ItemGroup>
8165

82-
<ItemGroup>
83-
<Compile Update="Resources\Strings.Designer.cs">
84-
<DesignTime>True</DesignTime>
85-
</Compile>
86-
</ItemGroup>
66+
<ItemGroup Condition="'$(TargetFramework)' == 'monoandroid10.0'">
67+
<PackageReference Include="Serilog.Sinks.Xamarin">
68+
<Version>0.2.0.64</Version>
69+
</PackageReference>
70+
</ItemGroup>
71+
72+
<ItemGroup>
73+
<Compile Update="Resources\Strings.Designer.cs">
74+
<DesignTime>True</DesignTime>
75+
</Compile>
76+
</ItemGroup>
8777
</Project>

tests/Notifo.SDK.UnitTests/Notifo.SDK.UnitTests.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
<RootNamespace>Notifo.SDK.UnitTests</RootNamespace>
99
</PropertyGroup>
10-
11-
<PropertyGroup>
12-
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
13-
</PropertyGroup>
14-
15-
<ItemGroup>
16-
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
17-
</ItemGroup>
10+
11+
<PropertyGroup>
12+
<CodeAnalysisRuleSet>..\..\Notifo.ruleset</CodeAnalysisRuleSet>
13+
</PropertyGroup>
14+
15+
<ItemGroup>
16+
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
17+
</ItemGroup>
1818

1919
<ItemGroup>
2020
<PackageReference Include="FluentAssertions" Version="5.10.3" />

0 commit comments

Comments
 (0)